This project provides a mechanism for performing parallel computations on a given data set using Rayon. It involves an algorithm to process numbers based on the Collatz conjecture.
Given a vector of numbers, the program can process each number in parallel or sequentially based on a specified threshold. The underlying algorithm follows a specific rule to reduce numbers and counts the steps to do so.
- Rust (latest stable version recommended)
- Cargo (comes with Rust)
- Clone the repository:
git clone https://github.com/qqrm/spin_fi_test
- Navigate to the project directory:
cd spin_fi_test
- Build the project:
cargo build --release
To run all the tests, use:
cargo test
For benchmarking, you can use:
cargo bench
This project is licensed...