nolaviz commented on PR #87:
URL: https://github.com/apache/freemarker/pull/87#issuecomment-1382158222

   Just to note - a very simplistic benchmark 
(https://gist.github.com/nolaviz/94455756da704892c4dca377062ab82a) shows the 
following results:
   
   ```
   String.compareTo: PT0.804698705S
   Normalization + String.compareTo: PT1.274591945S
   Collator.compare: PT3M59.458385549S
   ```
   
   i.e., `Collator.compare` is ~295x slower than `String.compareTo` in this 
mini-benchmark, while normalization + `compareTo` is just ~1.6x slower.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to