harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Zhou" <zhoukevi...@gmail.com>
Subject Re: About
Date Thu, 20 Nov 2008 02:09:56 GMT
Please ignore this mail. I send a new one with subject: "[classlib][luni]
Redundant and repeated external properties loading using ResourceBundle may
degrade performance."

On Thu, Nov 20, 2008 at 10:02 AM, Kevin Zhou <zhoukevin83@gmail.com> wrote:

> Hi,
> I read some code in LUNI module of Harmony.
> (org.apache.harmony.luni.util.Msg/MsgHelp and java.util.ResourceBundle)
> I found that Harmony uses ResourceBundle to load messages from external
> properties file.
> e.g. Once it requires a message "K0046", it will always use ResourceBundle
> to go through the org.apache.harmony.luni.util.ExternalMessages.properties
> file to search it.
> I think such redundant and repeated I/O operations may degrade our
> performance.
>
> Why not use a hashtable to store all the external messages? It only
> requires several I/O operations initially!
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message