On 28/03/14 06:34 AM, Matthieu Monrocq wrote:
>
> Because you can already have the functionality by using `unsafe`, so why
> should one at *twice* the same functionality in different ways ?
> 
> I believe optimizers should be good enough to remove most bound checks
> (especially in loops), and if there are cases where they don't it might
> be worth checking what's preventing this optimization.

They can often be hoisted out of loops, but rarely removed.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to