Y
Hacker News
new
|
ask
|
show
|
jobs
by
adgjlsfhk1
94 days 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