Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
None
-
None
-
None
-
New
Description
Inspire by Google Guava UnsignedBytes lexi comparator, that uses unsafe to do long based comparisons over the bytes instead of one by one (which yields 2-4x better perf), use similar logic in BytesRef comparator. The code was adapted to support offset/length.
Attachments
Attachments
Issue Links
- is superceded by
-
LUCENE-7966 build mr-jar and use some java 9 methods if available
- Closed