Skip to content

chri-sp/small-object-allocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Custom C++ memory manager for small objects

Resources

Stars

Watchers

Forks

Languages