You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/06/25 04:25:42 UTC

DO NOT REPLY [Bug 7361] - Performance Enhancement to MessageResouce.getMessage(..)

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7361>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7361

Performance Enhancement to MessageResouce.getMessage(..)

Joe@Germuska.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From Joe@Germuska.com  2002-06-25 02:25 -------
Marking this bug as "INVALID" because it appears to suggest a change to 
an abstract method in MessageResources.

Do you instead think this change should be applied to 
PropertyMessageResources (the default implementation)?  If so, you 
should consider those performance gains in light of the fact that your 
code isn't synchronized.  MessageResources could be the subject of high 
contention in a (multi-threaded) servlet environment, so it doesn't seem 
like a good tradeoff.

And, then, there's the fact that you can register your own implementation 
of MessageResources that behaves according to your suggestion below 
if that's what you want.  It just doesn't seem like it belongs in the 
distribution...

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>