aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Serialization/ModuleCacheTest.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2025-07-30 16:02:46 -0500
committerJoseph Huber <huberjn@outlook.com>2025-07-30 16:05:55 -0500
commit1a0121cbedc6bad7cf07cc9234fc8368db0dfbe3 (patch)
tree72bb7d2a3a2839e6fd1281e39eb16c27f0041db9 /clang/unittests/Serialization/ModuleCacheTest.cpp
parentff38981a5817f06afad2c7e263e3bf8486f35da9 (diff)
downloadllvm-1a0121cbedc6bad7cf07cc9234fc8368db0dfbe3.zip
llvm-1a0121cbedc6bad7cf07cc9234fc8368db0dfbe3.tar.gz
llvm-1a0121cbedc6bad7cf07cc9234fc8368db0dfbe3.tar.bz2
[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.
Diffstat (limited to 'clang/unittests/Serialization/ModuleCacheTest.cpp')
0 files changed, 0 insertions, 0 deletions