[scudo] secondary allocator cache optimal-fit retrieval
changed cache retrieve algorithm to an "optimal-fit" which immediate returns blocks that are less than 110% of the requested size. This reduces memory waste while still allowing for an early return without traversing the entire array of cached blocks Reviewed By: cferris, Chia-hungDuan Differential Revision: https://reviews.llvm.org/D157155
parent
c3f227ea
Please register or sign in to comment