fixup! Experiment. Do not push

This commit is contained in:
Ed Hennis
2026-07-22 19:21:19 -04:00
parent 897b42354c
commit 4de913a477

View File

@@ -623,6 +623,9 @@ TaggedCache<Key, T, IsKeyCache, SharedWeakUnionPointer, SharedPointerType, Hash,
// Allocate the current size plus a little extra, in case the cache grows while
// allocating. Each time another allocation is needed, the extra also gets bigger until
// it ultimately doubles the size + 1.
// Temporary experimental value. Make the buffer as small as possible to see if any
// reallocations are needed. Do not merge.
constexpr std::size_t baseShift = 63;
auto const bufferOffset = std::min(allocationIterations, std::size_t{baseShift});
auto const bufferShift = baseShift - bufferOffset;