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

MergeOperator proposal #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pablofrommars
Copy link

Fix for #69

Proposed interface for user defined PartialMerge and FullMerge functions:

https://github.com/pablofrommars/rocksdb-sharp/blob/aa30a9fee098c92ade78532cad9a8bd16764fc3c/RocksDbSharp/MergeOperator.cs#L18-L40

The proposed implementation allocates buffers during marshalling. For performance reasons, the use of ArrayPool is suggested, happy to do the work in case you are interrested.

theolivenbaum added a commit to curiosity-ai/rocksdb-sharp that referenced this pull request Nov 1, 2021
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.

1 participant