Rust and Cargo toolchain needed.
List all solved problems:
cargo run -- -h
Solve Euler 2:
cargo run -- euler_2
In order to benchmark solutions I added support for the excellent Criterion module.
Use cargo bench
to run all benchmarks.
Criterion uses statistical analysis and compares each run to the previous one
in order to detect improvement or regression. Graphs are generated
in target/criterion
.
Use open target/criterion/report/index.html
to show all statistics:
- Project Euler for the problems
- Farzad FARID <farzy@farzy.org>
All code is published under the Apache 2.0 License.