pdatastructs.rs
pdatastructs.rs copied to clipboard
Python bindings
Add python bindings, starting with a single data structure and input type. Hashing should be done in Rust. Think about if C bindings and FFI (like milksnake) or direct bindings (like pyo3) would be better.
C bindings with FFI make it reusable in other languages too (any that supports FFI). pyo3 will probably be faster because it integrates deeper into CPython, but your code will be Python specific...
(sorry for showing up uninvited, but I'm doing some stuff with Rust and Python and thought the feedback would be useful)
Also, great lib!