Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
StilesCrisis
· 1mo ago · 0 comments
Optimizers eat stuff like this up. It'll restructure your loop however it wants.
Comments
[–]
bugake
1mo ago
You should always check the compiled assembly with Compiler Explorer because compilers sometimes avoid certain optimizations for convoluted reasons, which are hard to predict.