mirror of
https://github.com/barnii77/virtalloc.git
synced 2026-06-06 02:06:21 +02:00
a tiny heap allocation library
- C 92.5%
- HTML 3.8%
- Python 2.3%
- CMake 1.4%
| .idea | ||
| docs | ||
| include | ||
| internal/virtalloc | ||
| scripts | ||
| src | ||
| tests | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
About
This project is a tiny heap allocator library for learning purposes. I primarily wanted to try coming up with a decently efficient allocation algorithm.
I ended up with an allocator that reaches similar speeds as glibc (generally slightly slower, but realloc appears to be faster than glibc, I suspect because glibc makes alignment guarantees that I don't make?). My allocator likely has more metadata overhead though.
Building
See BUILDING.md
Running tests
See TESTING.md
License
MIT License