On 8/29/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> (MetricValue (name "foo")
>                     (group "A")
>                     (testslot ?A_testslot)
> )
> (MetricValue (name "foo")
>                     (group "B")
>                     (testslot ?B_testslot&:(similar ?B_testslot ?A_testslot)
> )
> )
> (test (> ?A_val ?B_Val))
>
> The performance of the second version is much slower, especially as the
> number of facts increases. Is this just the overhead of my function call vs.
> "equals".  Does anyone have suggestions about possible restructuring of the
> problem that might minimize the calls necessary?.

What does (similar) do? How is it implemented?
Wolfgang


--------------------------------------------------------------------
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]
--------------------------------------------------------------------

Reply via email to