buildscripts
buildscripts copied to clipboard
ICU: Consider ``--with-data-packaging=files`` option for low mem targets
I played around a bit with this setting combined with debug flag which emits debug traces and this feature appears to be quite useful:
The files option creates individual files for all the encoding so you have a file for 1252, 932, normalization etc.
And the best part: Based on the traces it does lazy load the folder so it will only load the encodings that are requested - no huge shift-jis in memory when only western europe is used. This can easily safe a 1 MB of RAM on low mem devices like the Wii :).
Problem is it either needs a shared location (like rtp), which may have outdated files, or we would need to distribute them along the binary.
Also error detection/warning messages for these cases would be needed.