Run : python -m venv venv source venv/bin/activate # On Windows use: venv\Scripts\activate pip install maturin memory_profiler matplotlib maturin init --bindings pyo3 Compile Rust : maturin develop --release Run Benchmark : python benchmark.py