Metadata-Version: 2.1
Name: python_rust_module
Version: 0.1.2rc10
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# python_rust_module
## description
This is a sample project to compare the performance of python and rust binding.



## prerequisuite
poetry
python3.11
rust

## setup
```shell
poetry install # install python dependencies
mnaturin develop # build & link rust module
```

## run
```shell
python -m python_rust_module.main
```

## result
![sum_to_n_elapsed_time](images/sum_to_n_elapsed_time.png)
![sum_to_n_elapsed_time_ratio](images/sum_to_n_elapsed_time_ratio.png)


