Of course, as more generic queries would get many more partial matches,
mainly because I don't have the most specific class to match on at compile
time, I thought that generating specific ones could do better...
I guess that if the cost is that high, I could cache them on the first run.
----------------------------------------
> From: ejfr...@sandia.gov
> To: jess-users@sandia.gov
> Subject: Re: JESS: creating defqueries at runtime
> Date: Sun, 16 May 2010 00:37:11 -0400
>
>
> On May 14, 2010, at 12:10 PM, Skeptic . wrote:
>
>>
>> Hi,
>>
>> I'm asking myself if I should use "more generic" (def)queries that I
>> can create at compile-time or "more specific" ones that I can create
>> only at run-time. In both case, they would be run at the same
>> frequency, which is not that high (definitly more than once).
>>
>> Thanks for any suggestion / hindsight.
>>
>> Gagnez 10 000 $ avec Hotmail! Participez ici
>
>
> Generally you want to use a few queries that you can compile ahead of
> time and parameterize as needed at runtime; compiling new queries is
> an unnecessary expense.
>
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Informatics & Decision Sciences, Sandia National Laboratories
> PO Box 969, MS 9012, Livermore, CA 94550
> http://www.jessrules.com
>
>
>
>
>
>
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
> in the BODY of a message to majord...@sandia.gov, NOT to the list
> (use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
> --------------------------------------------------------------------
>
_________________________________________________________________
30 jours de prix à gagner avec Hotmail. Participez ici.
http://go.microsoft.com/?linkid=9729717
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
in the BODY of a message to majord...@sandia.gov, NOT to the list
(use your own address!) List problems? Notify owner-jess-us...@sandia.gov.
--------------------------------------------------------------------