HLSf use nuint rather than long, L4 now uses hlsf rather than array to alloc cache line.

This commit is contained in:
Youmu Liu
2026-04-21 20:32:28 +08:00
parent 2e2d64a2ce
commit 4f3e206dcb
11 changed files with 151 additions and 133 deletions
+2 -2
View File
@@ -51,13 +51,13 @@ namespace StgSharp
}
public bool Predict(
Span<CacheLinePrediction> node,
Span<CacheLineDescription> node,
out int count
)
{
count = Math.Min(_addresses.Length, node.Length);
for (int i = 0; i < count; i++) {
node[i] = new CacheLinePrediction
node[i] = new CacheLineDescription
{
Address = _addresses[i],
MapPolicy = 0,