1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
libualloc - microlib for special allocation sequences
This library is intended to supplement (and not replace) standard libc malloc
by providing a modular set of allocators that can speed up and/or decrease
memory footprint of algorithms that have a specific sequence of allocations.
Key features:
- the code is real tiny; small enough to be easily audited
- portability:
- depends only on C89
- no assumption about operating system, libc, etc.
- does not try to be smart:
- simple, modular source code
- does exactly what the caller requests
- flexible connection to host program:
- can be used either as inlines with #includes
- or as a static linked library
- flexible install:
- install: can be system or user installed (make install)
- embed: can be svn:extern'd
- embed: can be simply included as a single subdirectory in a host program
- code size is so small that embedding won't have too much overhead
- flexible interface to the host operating system:
- low level access to memory is done through replaceable callback functions
- example callbacks provided for malloc and static heap/stack array backend
For more info, see:
- http://www.repo.hu/projects/libualloc
- ../doc
|