Switch to fewer allocations in UnicodeSet parsing #3684
Open
Description
icu_unicodeset_parser
uses a bunch of allocating types internally to allow for
- arbitrary-length escapes (
\x{61 62 63 64...}
) useVec<char>
- arbitrary-length strings (
{abcd...}
) useString
These can/should probably be swapped out for types with "small lives on stack, big lives on heap" semantics.
Linking PR: #3670
Discuss/decide: Priority of UnicodeSet parsing efficiency