Hacker News new | ask | show | jobs
by MaulingMonkey 2645 days ago
https://users.rust-lang.org/t/how-to-zip-two-slices-efficien... explores eliding the bounds checks even without an assert! (though by using the smaller length as the bounds, which might not be the desired behavior)