Hacker News new | ask | show | jobs
by sltkr 1302 days ago
Funnily there is an off-by-one error in your example; if you fix it, the generated assembly is even more efficient.
1 comments

Hah! There's one reason not to switch everything to `unsafe get_unchecked()`.