2 ms·
Maybe I should be more clear; no data needs to be fetched from disk/network, and the "writes" don't need to go past memory. As for the second point, you might
by loser777 5y ago
Maybe I should be more clear; no data needs to be fetched from disk/network, and the "writes" don't need to go past memory.
As for the second point, you might have a different definition of "naive" and "relatively simple" as my brain has rotted too much from only thinking about SIMD for numerical computation. While determining divisibility be relatively clear, it wasn't clear how the printing would be easily vectorizable as the output-per-number is variable in length.