keep-starknet-strange / garaga

State-of-the-art Elliptic Curve operations and SNARKS verification for Cairo & Starknet 🐺.
https://felt.gitbook.io/garaga
MIT License
188 stars 47 forks source link

feat: PyO3 & Maturin for src/algebra.py #110

Closed feltroidprime closed 6 months ago

feltroidprime commented 7 months ago

Implement Rust bindings for the file algebra.py while maintaining same methods and properties.

Demonstrate performance improvements when running benchmarks.py

Use https://pyo3.rs/ and PR to rewrite branch.

Some bench using py-spy top -- python src/benchmarks.py (see py-spy ) : image

make setup script should be updated and integrated easily.

Akashneelesh commented 7 months ago

Heyy @feltroidprime may I take this one. Thanks

feltroidprime commented 7 months ago

Heyy @feltroidprime may I try this one. Thanks

Yes, please explore! Good luck !

Akashneelesh commented 7 months ago

Heyy @feltroidprime may I try this one. Thanks

Yes, please explore! Good luck !

Thank you serr!