zbraniecki/unic-locale

Ideas for better performance

Closed this issue · 3 comments

In projectfluent/fluent-langneg-rs#7 @raphlinus suggested changes to how we store Strings to improve performance of the Locale struct.

I think we can now hold this conversation here, as I want to carve out Locale struct/trait from fluent-locale-rs.

Some options include smallstring, istring, smol_str etc.

Seems like projectfluent/fluent-langneg-rs#8 had a very nice proof of concept.

fixed in 378718b

for future ideas let's open new issues.