llvm-project
1a0121cb - [libc] Start slab search at number of allocated bits

Commit
62 days ago
[libc] Start slab search at number of allocated bits Summary: This patch changes the slab search to start at the number of allocated bits. Previously we would randomly search, but this gives very good performance when doing nothing but allocating, which is a common configuration. This will degrade performance when mixing malloc and free close to eachother as this is more likely to fail when the counter starts decreasing.
Author
Committer
Parents
Loading