niklas-heer / speed-comparison

A repo which compares the speed of different programming languages.
https://niklas-heer.github.io/speed-comparison
MIT License
511 stars 79 forks source link

Rust stable: Changed fold to foreach #122

Open aetelani opened 1 year ago

aetelani commented 1 year ago

Foreach could be slightly faster compared to fold.

https://github.com/rust-lang/rust/issues/76725