struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeromy Evans <>
Subject Re: i18n/TextProvider issues
Date Fri, 11 Apr 2008 06:13:26 GMT

Don Brown wrote:
> Sounds good.  Are there any performance implications?
> Don
According to the 
performance implications are very significant (significantly improved).

getText(String) invoked via OGNL and and getText(key, defaultValues, 
args) invoked via Text are essentially identical in the default 
implementation (TextPrroviderSupport) as both invoke 
LocalizedTextUtil.findText(). The improvement comes down to iteration 
through the stack to find a class vs ognl expression evaluation plus 
iteration through the stack to find a method.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message