|
|
|
|
|
by jstimpfle
3351 days ago
|
|
Strings are length 10 to 100. A cache line is 64 bytes. A cache miss is < 1000 cycles < 10^3ns. That makes < 1s for 10^6 strings. Furthermore adjacent strings are likely to be adjacent in memory, from which I would naively expect cache prefetching to succeed. Additionally, the curve is quadratic (if at all), not linear. I bet the author looked up all n strings from the vector of n strings. |
|