stupid allocator idea i got before falling asleep once
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
lemonsh 4731cb37b8 initial commit 9 months ago
.gitignore initial commit 9 months ago
CMakeLists.txt initial commit 9 months ago
README.md initial commit 9 months ago
defralloc.c initial commit 9 months ago
defralloc.h initial commit 9 months ago
test.c initial commit 9 months ago

README.md

defralloc

Dumbest allocator on the planet, designed for embedded:

  • Own buffer
  • Defragments on free()
  • Slow as hell
  • Returns a pointer to the actual pointer (because defragging changes the offset XD)