Yeah, that would be significantly slower. Theoretically. Practically I'd guess that any attempt to measure real difference between 3 instructions and this 10 or so instruction loop (likely unrolled) would be completely obliterated by cache access latency and such.
View all comments
Show parent comment
2
u/HappyFruitTree Sep 04 '26
What if there are more than 64 empty slots between the current element and the next?