3 ms·
But it's iterating through the result vectors twice, so that's basically guaranteed to miss. Moving the threshold check into the loop above would at least elimi
by bogwog 3y ago
But it's iterating through the result vectors twice, so that's basically guaranteed to miss. Moving the threshold check into the loop above would at least eliminate that factor.
Maybe division vs bit shifting does play a factor, but it's hard to compare that while the cache behavior is so different.