forked from barnii77/virtalloc
a tiny heap allocation library
- C 100%
| .idea | ||
| .gitignore | ||
| main.c | ||
| 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
gcc main.c -o a.out
Running tests
gcc main.c -o a.out && ./a.out
License
MIT License