stupid allocator idea i got before falling asleep once
This repository has been archived on 2022-07-27. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Go to file
lemonsh 4731cb37b8 initial commit 2022-07-02 12:22:46 +02:00
.gitignore initial commit 2022-07-02 12:22:46 +02:00
CMakeLists.txt initial commit 2022-07-02 12:22:46 +02:00
README.md initial commit 2022-07-02 12:22:46 +02:00
defralloc.c initial commit 2022-07-02 12:22:46 +02:00
defralloc.h initial commit 2022-07-02 12:22:46 +02:00
test.c initial commit 2022-07-02 12:22:46 +02:00

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)