Skip to content

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