unicode-org / icu4x

Solving i18n for client-side and resource-constrained environments.
https://icu4x.unicode.org
Other
1.37k stars 174 forks source link

Make property name lookup `get_loose` more efficient and limit recursion depth #5599

Open sffc opened 3 weeks ago

sffc commented 3 weeks ago

Address some of the follow-ups in https://github.com/unicode-org/icu4x/pull/5576.

CC @robertbastian

sffc commented 3 weeks ago

Additional observation: I don't think that these property names should ever have repeating whitespace characters. We should be able to use that property to limit recursion depth.