Re: RFR: 6714245: [Col] Collator - Faster Comparison for identical strings.

2023-05-11 Thread Justin Lu
On Thu, 11 May 2023 20:37:11 GMT, Naoto Sato 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 ele

Re: RFR: 6714245: [Col] Collator - Faster Comparison for identical strings.

2023-05-11 Thread Naoto Sato
On Thu, 11 May 2023 18:27:28 GMT, Justin Lu 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 f

Re: RFR: 6714245: [Col] Collator - Faster Comparison for identical strings.

2023-05-11 Thread Roger Riggs
On Thu, 11 May 2023 18:27:28 GMT, Justin Lu 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 f

RFR: 6714245: [Col] Collator - Faster Comparison for identical strings.

2023-05-11 Thread Justin Lu
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. - Commit messages: