L4 is now on new algo, using tricky way to init entryies

This commit is contained in:
Youmu Liu
2026-04-23 18:07:14 +08:00
parent 1a6ce24a27
commit 2f6617447c
4 changed files with 19 additions and 4 deletions
@@ -103,6 +103,11 @@ namespace StgSharp.HighPerformance.Memory
ptr += predictionCountSize;
_mapCount = (MapArray*)ptr;
ptr += predictionCountSize;
M512* mPtr = (M512*)_head;
for (uint i = 0; i < CacheLineCount; i++) {
mPtr->BroadCastFrom<ulong>(i);
}
}
public nuint ByteCapacity { get; init; }