nickva opened a new pull request, #6048:
URL: https://github.com/apache/couchdb/pull/6048

   For old libicu versions < 59 on RHEL 6 and 7 we had to add a hack in the NIF 
driver to handle the max sortable sentinel `<<255,255,255,255>>` [1]. We don't 
support those versions any longer, and since libicu version 59 the library will 
automatically sort those as the highest values [2], so we can clean up our 
collator NIF.
   
   [1] https://github.com/apache/couchdb/pull/3491
   
   [2] 
https://www.unicode.org/reports/tr35/tr35-collation.html#tailored-noncharacter-weights
   
   > U+FFFF: This code point is tailored to have a primary weight higher than 
all
   other characters. This allows the reliable specification of a range, such as 
“Sch” ≤ X ≤ “Sch\uFFFF”, to include all strings starting with "sch" or 
equivalent.
   


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