Re:Counting bytes fast
by kabdib on Sunday September 28, 2014 @09:58AM
(#8379728)
Good point about prefetch.
The U16 version can probably benefit from a test for the first 256 values, and leave the remainder of the range as vanilla counters. You might get a win for less than 128 on the first test, in fact.
The U16 version can probably benefit from a test for the first 256 values, and leave the remainder of the range as vanilla counters. You might get a win for less than 128 on the first test, in fact.