FYI: our custom ResourceBundle class doesn't cache the entire file - it only caches the requested locale(s) within the file.

And whether the requested labels came from a single file or our custom XML file, they are all converted to a Properties object - so there should be no difference in memory used.

-Adrian

David E Jones wrote:

On Oct 27, 2008, at 12:53 PM, Adam Heath wrote:

Adrian Crum wrote:

There is no performance penalty for having all translations in one file.
UI labels are kept in a memory cache.

Bzzt, wrong, memory usage is a definate penalty.

I call shenanigans on this statement.

How is the memory footprint worse for one file versus many?

-David


Reply via email to