-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/apiIssues related to current API limitations.Issues related to current API limitations.kind/enhancementSomething could be better.Something could be better.priority/P3Low priority, something to be done once everything else is fixed.Low priority, something to be done once everything else is fixed.skip/staleSkip stalebotSkip stalebotstatus/acceptedWe accept to investigate or work on it.We accept to investigate or work on it.
Milestone
Description
Hello,
Today the key comparison function used by the database is bytes.Compare. In cases where we're dealing with fixed-size integer or ascii keys this makes a lot of sense, but I have a use case for using variable size integers as keys (similar to big.Int), and the order of the keys as defined by bytes.Compare is not the natural order of the integer values.
I'd like to explore modifying the package to make the comparison function configurable at the database level, but I wanted to get feedback from someone more familiar with the implementation in case there were any major concerns.
asdine
Metadata
Metadata
Assignees
Labels
area/apiIssues related to current API limitations.Issues related to current API limitations.kind/enhancementSomething could be better.Something could be better.priority/P3Low priority, something to be done once everything else is fixed.Low priority, something to be done once everything else is fixed.skip/staleSkip stalebotSkip stalebotstatus/acceptedWe accept to investigate or work on it.We accept to investigate or work on it.