We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a9bcff commit a714cdbCopy full SHA for a714cdb
BitFaster.Caching/Lfu/CmSketchCore.cs
@@ -174,6 +174,7 @@ private unsafe int EstimateFrequencyStd(T value)
174
int counterHash = Rehash(blockHash);
175
int block = (blockHash & blockMask) << 3;
176
177
+ // Loop unrolling improves throughput
178
int h0 = counterHash;
179
int h1 = counterHash >>> 8;
180
int h2 = counterHash >>> 16;
0 commit comments