You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sami Vaarala ef5d8af90e Example fixes for -Wmissing-prototypes 8 years ago
..
README.rst Draft hybrid pool+malloc allocator 10 years ago
duk_alloc_hybrid.c Example fixes for -Wmissing-prototypes 8 years ago
duk_alloc_hybrid.h Examples and extras fixes for #if(n)def 8 years ago

README.rst

=====================
Hybrid pool allocator
=====================

Example allocator that tries to satisfy memory allocations for small sizes
from a set of fixed pools, but always falls back to malloc/realloc/free if
a larger size is requested or the pools have been exhausted.

This may be useful to reduce memory churn when the platform allocator does
not handle allocations for a lot of small memory areas efficiently.