Skip to content
Commit a7f0195b authored by Fernando's avatar Fernando Committed by Chia-hung Duan
Browse files

[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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment