是否重新利用已释放的内存?
作者: maartenvd创建于 2022年12月9日更新于 2026年9月22日
标签stale
I have a program that in a tight loop needs to allocate and deallocate blocks of memory (let's say of sizes (a,b,c) ), but they are the same in every iteration. I would have expected mimalloc to re-use previously allocated memory, but instead I see:
内容来源: microsoft/mimalloc