@@ -57,7 +57,7 @@ public sealed class ConcurrentLfu<K, V> : ICache<K, V>, IAsyncCache<K, V>, IBoun
5757
5858 private readonly CacheMetrics metrics = new CacheMetrics ( ) ;
5959
60- private readonly CmSketch < K , DetectAvx2 > cmSketch ;
60+ private readonly CmSketch < K , DetectIsa > cmSketch ;
6161
6262 private readonly LfuNodeList < K , V > windowLru ;
6363 private readonly LfuNodeList < K , V > probationLru ;
@@ -100,7 +100,7 @@ public ConcurrentLfu(int concurrencyLevel, int capacity, IScheduler scheduler, I
100100 int writeBufferSize = Math . Min ( BitOps . CeilingPowerOfTwo ( capacity ) , 128 ) ;
101101 this . writeBuffer = new MpscBoundedBuffer < LfuNode < K , V > > ( writeBufferSize ) ;
102102
103- this . cmSketch = new CmSketch < K , DetectAvx2 > ( capacity , comparer ) ;
103+ this . cmSketch = new CmSketch < K , DetectIsa > ( capacity , comparer ) ;
104104 this . windowLru = new LfuNodeList < K , V > ( ) ;
105105 this . probationLru = new LfuNodeList < K , V > ( ) ;
106106 this . protectedLru = new LfuNodeList < K , V > ( ) ;
@@ -617,11 +617,11 @@ private LfuNode<K, V> EvictFromWindow()
617617
618618 private ref struct EvictIterator
619619 {
620- private readonly CmSketch < K , DetectAvx2 > sketch ;
620+ private readonly CmSketch < K , DetectIsa > sketch ;
621621 public LfuNode < K , V > node ;
622622 public int freq ;
623623
624- public EvictIterator ( CmSketch < K , DetectAvx2 > sketch , LfuNode < K , V > node )
624+ public EvictIterator ( CmSketch < K , DetectIsa > sketch , LfuNode < K , V > node )
625625 {
626626 this . sketch = sketch ;
627627 this . node = node ;
0 commit comments