title: Does Rust's array bounds checking affect performance?
body: <p>I'm coming from C and I wonder whether Rust's bounds checking affects performance. It probably needs some additional assembly instructions for every access, which could hurt when processing lots of data. </p>
  
  <p>On the other hand, the costly thing in processor performance is memory, so more arithmetic assembler instructions might not hurt, but then it might matter that after a cache line is loaded, sequential access should be very fast.</p>
  
  <p>Has somebody benchmarked this?</p>