I think Greg Ball wrote:
> I think it is a credit to Ernest Friedman-Hill, if he is
> listening, that there were no problems whatsoever.
I'm always listening :) Thanks.
> I suspect, maybe Ernest will answer, that JESS will provide
> much better performance the less you force it to do function calls, even
> JESS function calls, to evaluate the state of a LHS.
>
There are many tradeoffs, really. If you can do function calls early
on a LHS and prevent further matching, then using them will help
performance, not hurt. Similarly, it's better to do complicated tests
on the LHS than it is to match more generally and then use an if-then
on the RHS to sort things out. But all things being equal, if you can
easily write simple procedural code to make a decision, it often is
better to do that than to do it via pattern matching.
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
Org. 8920, MS 9012 [EMAIL PROTECTED]
PO Box 969 http://herzberg.ca.sandia.gov
Livermore, CA 94550
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------