Benchmarking the cost of array bounds checks in Rust code: https://blog.readyset.io/bounds-checks/ The author even patches rustc to make sure *all* bounds checks are gone, in order to compare the performance!