L4 is now a burden
This commit is contained in:
@@ -33,16 +33,11 @@ namespace StgSharp.HighPerformance.Memory
|
||||
public unsafe partial class L4
|
||||
{
|
||||
|
||||
public const int MaxActivateCacheLineCount = 1024;
|
||||
|
||||
private partial void Prefetch()
|
||||
{
|
||||
if (CurrentPredict is null) {
|
||||
return;
|
||||
}
|
||||
if (_activeCount > MaxActivateCacheLineCount) {
|
||||
throw new OverflowException("Too many activated cache line in external reference.");
|
||||
}
|
||||
IL4Predict predict = CurrentPredict;
|
||||
int predictIndex = CurrentPredictIndex;
|
||||
Span<CacheLineDescription> span = new(_prediction, PredictionCount);
|
||||
|
||||
Reference in New Issue
Block a user