|
|
|
|
|
by ascar
1926 days ago
|
|
This is the benchmarking loop: for (size_t i = 0; i < N; i++) {
out[i++] = g();
}
N is 20000 and the time measured is divided by N. [1] However, that loop has two increments and only computes 10000 numbers.This is also visible in the assembly add x8, x8, #2
So if I see this correctly the results are off by a factor of 2.[1] https://github.com/lemire/Code-used-on-Daniel-Lemire-s-blog/... |
|
The relative speed between the two hashes is still the same, but it is no longer one iteration per cycle.