Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 569 Bytes

File metadata and controls

15 lines (8 loc) · 569 Bytes

Small Object Allocator

A custom memory allocator optimized for small objects. It reduces fragmentation and overhead compared to the standard C++ allocator, providing a significant speedup in specific scenarios.

Benchmark

The project includes a benchmark comparing the custom allocator against the standard one (200,000 iterations). Use Release configuration for accurate benchmarking.

Typical results

Terminal

Credits

  • Based on the small object allocation concepts from Modern C++ Design by Andrei Alexandrescu.