Skip to content
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

Rkuris/golang ffi #763

Merged
merged 22 commits into from
Jan 17, 2025
Merged

Rkuris/golang ffi #763

merged 22 commits into from
Jan 17, 2025

Conversation

rkuris
Copy link
Collaborator

@rkuris rkuris commented Dec 20, 2024

Resolves #762

@rkuris rkuris self-assigned this Dec 20, 2024
rkuris added 19 commits January 6, 2025 10:12
This has to be checked in for others to build this module
Also added a method to get the current root hash
Avoid making a copy of the go object Value

Also cleaned up docs
These allow you to specify a few parameters as well,
and could use a builder.
Still to-do is to change the FFI call to take the double byte slice
array instead of the KeyValue struct for performance reasons.
A test failure stems from the original delete implementation
This trims the database at the provided prefix
Same test as in the ffi done again here, which is easier to debug
@rkuris rkuris marked this pull request as ready for review January 16, 2025 00:16
@rkuris rkuris merged commit 414df47 into main Jan 17, 2025
5 checks passed
@rkuris rkuris deleted the rkuris/golang-ffi branch January 17, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement interface from golang to firewood
1 participant