|
SDDS ToolKit Programs and Libraries for C and Python
|
Memory recycling routines for frequently allocated structures.
Provides functions that manage pools of reusable memory blocks to reduce malloc overhead and memory fragmentation. Written by Bob Jenkins (September 1996) and released to the public domain with no warranty.
Definition in file recycle.c.
#include "standard.h"#include "recycle.h"Go to the source code of this file.
Functions | |
| reroot * | remkroot (size_t size) |
| void | refree (struct reroot *r) |
| char * | renewx (struct reroot *r) |
| char * | remalloc (size_t len, char *purpose) |
| void refree | ( | struct reroot * | r | ) |
| char * remalloc | ( | size_t | len, |
| char * | purpose ) |
| reroot * remkroot | ( | size_t | size | ) |
| char * renewx | ( | struct reroot * | r | ) |
Definition at line 44 of file recycle.c.