-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust Bindings #73
Comments
@ashvardanian regarding the "fingerprints" in the table that you've shared in the PR, is it the same as sz_hash? |
Not the same, but related. Fingerprints are rolling hashes, which are used to populate a bitset. |
In that case which is the function for generating fingerprints using StringZilla? |
@michaelgrigoryan25, it's called sz_fingerprint_rolling 🤗 I am not sure about what's the best Rust interface for it should look like, so let's keep it for the end. |
These are the most commonly used string types in Rust:
|
These are the most commonly used string types in Rust:
I can implement a macro which implements a common trait for all these types, so that methods like |
Sure. How about the |
That would work. |
@michaelgrigoryan25 this looks good! Want to open a PR or want to add a few more things before that? |
Sure, let's do it right now. |
Thanks a lot, great patches, @michaelgrigoryan25! In C++ I've implemented lazy-evaluated convenience functions, like |
@ashvardanian definitely, let's do it! |
Continuation of #66.
The text was updated successfully, but these errors were encountered: