2 ms·
> indexing is relatively rare This is also true in Rust for the same reason, arguably more true since Rust's built-in array type knows how big it is - but the
by tialaramex 4y ago
> indexing is relatively rare
This is also true in Rust for the same reason, arguably more true since Rust's built-in array type knows how big it is - but the observation in both languages programmers who want indexing write v[i] because that's the natural way to express what you meant, what's different isn't the frequency of need, only the language defaults.
> performance is such that you'd never want that enabled for release.
Let's make sure it's correct before we start worrying about performance
https://twitter.com/magdraws/status/1551612747569299458 https://twitter.com/magdraws/status/1551612747569299458