youtube image
From YouTube: Rust Linz, February 2021 - Will Hawkins - Comparing performance of range- and counter-based loops

Description

In this short session, I will share the story of investigating the difference in performance between a `for v in expression` loop and a `while` loop. The talk will cover topics in the Rust language itself, compiler optimization levels and how to benchmark performance.

Code: https://github.com/hawkinsw/speed_limits_of_loops_in_rust
Will on Twitter: https://twitter.com/hawkinsw
Rust Linz on Twitter: https://twitter.com/rustlinz
Submit your talk: https://sessionize.com/rust-linz
On the web: https://rust-linz.at