Simple tricks for faster Rust programs

Rust is pretty fast. Let’s get that out of the way. But sometimes, pretty fast is not fast enough. Fortunately, it’s also pretty easy to slightly improve the performance of your Rust binaries with minimal code changes. I’m gonna go over some of these tricks that I’ve picked up from many sources across the web (I’ll post a small list of very good blogs run by smart Rustaceans who cover interesting Rust related things)....

July 5, 2020 · 3 min