Hacker News new | past | comments | ask | show | jobs | submit login

This particular code will have a bounds check for x * 4 and panic if it's too large, thus inhibiting vectorization in most cases.

Just as a tidbit, to dig deeper into Rust.

How can I provide some quick evidence for this? Well there's a method called u64::unchecked_shr that acts as contrasting evidence.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: