Skip to:
It’s related to , but the java implementation of LSR.java can be further optimized by pooling the java strings.
LSR.java
https://r.android.com/3409682
Our experiment on Android shows that it can reduce the memory ~ 1 MB.
ICU4C doesn’t seem to have this problem as it uses a memory pool in LikelySubtagsData
It’s related to , but the java implementation of
LSR.java
can be further optimized by pooling the java strings.https://r.android.com/3409682
Our experiment on Android shows that it can reduce the memory ~ 1 MB.
ICU4C doesn’t seem to have this problem as it uses a memory pool in LikelySubtagsData