rpmalloc icon indicating copy to clipboard operation
rpmalloc copied to clipboard

perf: check global cache before extracting from reserved memory

Open FujiZ opened this issue 2 years ago • 0 comments

The allocator should check the global cache for an available span before extracting a span of memory from the reserved memory to avoid cache bloating. Besides, extracting from reserved memory eagerly may also increase the degree of memory fragmentation.

FujiZ avatar Jan 09 '24 10:01 FujiZ