L4 is now on new algo, using tricky way to init entryies
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user