- Commit
- 4db9a614662adf9d05e58ee89562bcf700cbe087
- Parent
- b4ff4be394817bc01b2ad9337da8c61446e092b1
- Author
- Pablo Escobar Gaviria <gark.garcia@protonmail.com>
- Date
Replaced _for loop_ for _while loop_ in the Rust implementation to improve performance.
Since _for loops_ in Rust are just syntatic sugar for successive calls to `Iterator::next`, manually increment the variable in a while loop is a little bit more effient. Performance was reduced by about 1.6330%.