- Notifications
You must be signed in to change notification settings - Fork124
Replacing byte[] and ByteBuffer compareTo methods with JDK builtins#199
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Ahh, missed the fact |
0a78414
toa1162e1
Compare
cgilliard left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Test cases cover these changes.
This is a more complicated proposal than it first appears. The PR modifies two implementations of the LMDB native code does not call the provided comparator. While a user is free to provide their own Java-side comparator when creating a
Where we run into issues is when using an There are a few options available, such as better clarifying the requirements in the JavaDocs of |
After thinking about this some more I believe the better approach is to store a mandatory Storing a It would be natural to only accept a single The only downside I can presently see to this is it would represent a breaking change by removing the aforementioned method and some minor variations to the I'll leave this PR open as a reminder to address this when preparing 0.9.0. |
Following the release of 0.8.3 I switched the target development version to 0.9.0 and implemented my prior comment. The main changes are:
I decided against making other |
Resolves#198