Small Object Distributor

Has anyone used SmallObjectAllocator from Modern C ++ Design by Andrei Alexandrescu in a large project? I want to implement this allocator, but I need some opinion about this before using it in my project. I did some tests and it seems very fast, but the tests were carried out in a small test environment. I want to know how quickly this happens when there are a lot of small objects (for example, events, smart pointers, etc.) and how much extra memory they use.

+7
c ++ memory-management dynamic-memory-allocation
source share
2 answers

I suggest you ask Rich Sposato . He did a great job of distributing Loki small objects, including testing and testing.

+12
source share

Do you consider using the Boost Pool Library ?

+2
source share

All Articles