Acknowledged

Feature-request: split the strings.xml for in-device and settings related strings

In most of the apps I've seen most of the strings are used for settings, still those strings are included in the memory footprint of the app. It would be very useful to split strings.xml to device-strings.xml and settings-strings.xml.

Parents
  • In other words, as discussed years ago, it's a compile-time change which every device can benefit from.

    To be clear, I also tried fr955 with the same results (strings with the settings scope are excluded from the PRG).

    So  I think the memory savings comes from when an app calls loadResource() (at least once), the resource table is loaded in memory, and there's no entries for those strings. (I think you'll just save a constant amount of memory per string, since the resource table only has resource IDs as values, not contents)

Comment
  • In other words, as discussed years ago, it's a compile-time change which every device can benefit from.

    To be clear, I also tried fr955 with the same results (strings with the settings scope are excluded from the PRG).

    So  I think the memory savings comes from when an app calls loadResource() (at least once), the resource table is loaded in memory, and there's no entries for those strings. (I think you'll just save a constant amount of memory per string, since the resource table only has resource IDs as values, not contents)

Children