Hi,

If you mean short-curcuit evaluation of these operators a la Java, JEXL already does this as the underlying code for the AND and OR node is just using the Java && and || operators anyway.

Regards,
Geoff

Emmanuel Wurth wrote:

Hi

To explain the context, we evalute java code snippet using JEXL, and in order to increase the speed of the query, since we do not need to have a complete evaluation of the expression, i would have like to be able to return from the And node, skipping the second call when this is possible, and have the same kind of faster behavior for the or.

Thanks.

Emmanuel Wurth
Software Engineer
Rational Software
IBM Software Group
6, rue Brindejonc - Parc Grande Plaine
31505 TOULOUSE CEDEX
Officel : +33 5.62.16.56.35
Office Fax: +33 5.62.88.42.99





Dion Gillard <[EMAIL PROTECTED]> 09/16/2004 01:34 AM
Please respond to
"Jakarta Commons Users List"



To Jakarta Commons Users List <[EMAIL PROTECTED]> cc

Subject
Re: JEXL






Sure, it's being maintained. We've just done a long needed 1.0 release.

What did you have in mind? How specifically would you change and & or?




On Wed, 15 Sep 2004 16:41:43 +0100, Emmanuel Wurth <[EMAIL PROTECTED]> wrote:


Hi

Does anybody knows if jexl is still maintained, i would like to know if
there will be some enhancments to allow the users to change the


behaviour


of some specific nodes (like And, Or ).

Thanks.

Emmanuel Wurth
Software Engineer
Rational Software
IBM Software Group
6, rue Brindejonc - Parc Grande Plaine
31505 TOULOUSE CEDEX
Officel : +33 5.62.16.56.35
Office Fax: +33 5.62.88.42.99











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



Reply via email to