ladybird/Meta/Lagom/Tools/CodeGenerators/LibUnicode
Timothy Flynn 5cf818e305 LibUnicode: Replace case transformations and comparison with ICUs
There are a couple of differences here due to using ICU:

1. Titlecasing behaves slightly differently. We previously transformed
   "123dollars" to "123Dollars", as we would use word segmentation to
   split a string into words, then transform the first cased character
   to titlecase. ICU doesn't go quite that far, and leaves the string
   as "123dollars". While this is a behavior change, the only user of
   this API is the `text-transform: capitalize;` CSS rule, and we now
   match the behavior of other browsers.

2. There isn't an API to compare strings with case insensitivity without
   allocating case-folded strings for both the left- and right-hand-side
   strings. Our implementation was previously allocation-free; however,
   in a benchmark, ICU is still ~1.4x faster.
2024-06-20 10:59:55 +02:00
..
CMakeLists.txt LibUnicode: Replace IDNA ASCII conversion with ICU 2024-06-18 21:07:56 +02:00
GenerateEmojiData.cpp Meta: Add a file containing a list of all emoji file names 2024-03-23 17:26:31 -04:00
GenerateUnicodeData.cpp LibUnicode: Replace case transformations and comparison with ICUs 2024-06-20 10:59:55 +02:00
GeneratorUtil.h LibLocale: Replace available locale lookups with ICU 2024-06-16 06:57:08 +02:00