commit 4b90c2379438c52f60770e75fdf31597aea62cbb
Author: Haoxiang Fei <feihaoxiang@idea.edu.cn>
Date:
feat(ucd): add string-level uppercase and lowercase
`@ucd.uppercase(StringView)` and `@ucd.lowercase(StringView)` build the
full case mapping of a whole string at once, instead of one `String` per
character as `to_uppercase(Char)` does. On native and Wasm the standard
library maps ASCII first, several code units at a time; the remaining code
points go through the case trie, and unchanged runs are copied at once.
JavaScript maps ASCII in the same pass.
The mappings are context-free, as the per-character ones are: conditional
SpecialCasing.txt mappings such as the final sigma are not applied.