struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown" <donald.br...@gmail.com>
Subject Re: i18n/TextProvider issues
Date Fri, 11 Apr 2008 06:15:48 GMT
Neat, hard to argue with that.

Don

On Fri, Apr 11, 2008 at 4:13 PM, Jeromy Evans
<jeromy.evans@blueskyminds.com.au> wrote:
>
>  Don Brown wrote:
>
> > Sounds good.  Are there any performance implications?
> >
> > Don
> >
> >
> >
>  According to https://issues.apache.org/struts/browse/WW-1681 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: dev-unsubscribe@struts.apache.org
>  For additional commands, e-mail: dev-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message