users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] [jsr372-experts] Re: Re: Re: [jsr344-experts] [941-ReduceELCalls] DISCUSSION

From: manfred riem <manfred.riem_at_oracle.com>
Date: Thu, 22 Jan 2015 11:33:01 -0600

Hi all,

I would like to go ahead and close this issue as a "Won't fix" as there is
a better way of addressing this without any specification changes.

Thoughts?
Manfred

On 1/21/15, 9:19 PM, Leonardo Uribe wrote:
> Hi
>
> MR>> I think caching the ELExpression becomes well uncessary. Hence no
> real action need from a spec perspective.
>
> I agree cache the values from the EL Expressions is not effective from
> performance perspective. The problem is it is quite hard to decide
> when the value can be reused or not. In the case of isRendered() you
> can take advantage of the fact that most of the calls are done in
> encodeXXX methods, but besides that you cannot do much besides
> optimize the EL Resolver chain. In MyFaces there are a couple of
> tricks for that.