How do I use Loki's small object allocator?

Posted by Gregory on Stack Overflow See other posts from Stack Overflow or by Gregory
Published on 2010-04-25T10:48:33Z Indexed on 2010/04/25 10:53 UTC
Read the original article Hit count: 480

Filed under:
|

I need to use Loki's small object allocator but I am very confused as to how it works. I've read the documentation and lots of forums but it doesnt make sense: some of them say to use the stl, others use custom allocators. I just need to be able to test its performance with allocating and deallocating objects of different sizes. Could someone please provide a small example of how to use it?

© Stack Overflow or respective owner

Related posts about memory-allocation

Related posts about c++