|
|
|
|
|
by jasonwatkinspdx
1384 days ago
|
|
The threshold was chosen empirically. Modern processors are very fast when operating on memory sequentially, as the prefetcher achieves the best case scenario. The cost of a cache line miss is so substantial this ends up dominating things until "n" is in the 1000s. A lot of programmers' intuition is off the mark on this point. |
|
Having said that, I applaud that this type of datastructure is being investigated. An efficient bitset should be present in every collections library.