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-20 18:10:14 +08:00
parent 1b7c929be4
commit 2e2d64a2ce
38 changed files with 796 additions and 465 deletions
@@ -33,6 +33,7 @@ using System.Threading.Tasks;
namespace StgSharp.HighPerformance.Memory
{
/**/
public partial class L4
{
@@ -57,6 +58,8 @@ namespace StgSharp.HighPerformance.Memory
public unsafe DebugSnapshot GetDebugSnapshot()
{
throw new NotImplementedException();
/*
int maxId = _maxId;
byte[] rrpv = new byte[maxId];
byte* p = (byte*)_eviction;
@@ -64,6 +67,7 @@ namespace StgSharp.HighPerformance.Memory
rrpv[i] = p[i];
}
return new DebugSnapshot(_activeCount, _aheadCount, maxId, rrpv);
/**/
}
public readonly struct DebugSnapshot
@@ -104,4 +108,5 @@ namespace StgSharp.HighPerformance.Memory
}
}
/**/
}