Neat, hard to argue with that.

Don

On Fri, Apr 11, 2008 at 4:13 PM, Jeromy Evans
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to