The new array implementation supports embedded arrays (great for void* couplets), which avoid excess memory allocations and could improve locality without requiring more memory.
This feature could be disabled by setting the FIO_ARRAY_ENABLE_EMBEDDED macro to 0.
In addition, while working on this I made updates to other pieces of code, such as adding support for "lucky realloc" (no memory copying) and other tweaks.
The new array implementation supports embedded arrays (great for void* couplets), which avoid excess memory allocations and could improve locality without requiring more memory.
This feature could be disabled by setting the
FIO_ARRAY_ENABLE_EMBEDDED
macro to0
.In addition, while working on this I made updates to other pieces of code, such as adding support for "lucky realloc" (no memory copying) and other tweaks.