optimize prime number algorithm

0
closed
IvanVnucec
IvanVnucec
Posted 5 months ago

optimize prime number algorithm #360

by breaking early

https://github.com/TheAlgorithms/Rust/pull/359