RFR: 6714245: [Col] Collator - Faster Comparison for identical strings.
Naoto Sato
naoto at openjdk.org
Thu May 11 20:39:33 UTC 2023
On Thu, 11 May 2023 18:27:28 GMT, Justin Lu <jlu at openjdk.org> wrote:
> Please review this PR which adds an initial equality check to `RuleBasedCollator.compare(String source, String target)`.
>
> This speeds up the operation for equal input Strings, as it bypasses Collator rule comparisons of each element for both of the input Strings.
LGTM. `noreg-perf` issue label might fit better for this
-------------
Marked as reviewed by naoto (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/13938#pullrequestreview-1423398642
More information about the core-libs-dev
mailing list