gamemixer.chunkedvec

Defines ChunkedVec, a grow-only buffer that allocates fixed chunks of memory, so as to avoid costly realloc calls with large sizes.

Members

Functions

makeChunkedVec
ChunkedVec!T makeChunkedVec(int chunkLength)

Structs

ChunkedVec
struct ChunkedVec(T)

ChunkedVec can only grow. ChunkedVec has one indirection when indexing. ChunkedVec has a fixed-sized allocations list.

Meta