xhochy commented on pull request #7449:
URL: https://github.com/apache/arrow/pull/7449#issuecomment-645253060


   The major difference between `unilib` and `utf8proc` in uppercasing a 
character seems to be that  [unilib looks up the uppercase value 
directly](https://github.com/ufal/unilib/blob/d8276e70b7c11c677897f71030de7258cbb1f99e/unilib/unicode.h#L81)
 wheras [utf8proc first gets a struct with all 
properties](https://github.com/JuliaStrings/utf8proc/blob/08f9999a0698639f15d07b12c0065a4494f2d504/utf8proc.c#L377)
 from which it extracts the uppercase value. Pre-computing the uppercase 
dictionary first could bring `utf8proc` en par with the performance.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to