3 ms·
and you can get another 2x improvement by incrementing i by 2 for (size_t i=p; i <= 0xFFFFFFFF / p; i+=2) { since every other one will be a multiple of 2
by adgjlsfhk1 7mo ago
and you can get another 2x improvement by incrementing i by 2
for (size_t i=p; i <= 0xFFFFFFFF / p; i+=2) {
since every other one will be a multiple of 2