Skip to content

nailik-git/balloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balloc (big alloc)

i recently saw a video of sphaerophoria where they talked about their allocator "sphalloc" and i thought: "well that's a bit overcomplicated", so i made my own.

this allocator is basically an arena allocator, with the added benefit of being able to free your allocations and that it automatically grows in size using mmap.

now also featuring a normal arena, that also grows in size.

quickstart

for usage, look through the tests

clang -o nob nob.c
./nob

this will build the object file & the tests, to run the tests, simply run

./nob test

About

big allocator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages