[rules-users] calling function in When which one is faster

Wolfgang Laun wolfgang.laun at gmail.com
Tue Feb 11 14:06:11 EST 2014


Please send me a machine configured with your choice of Drools, Java
and operating system (and a check, to be negotiated ;-) )

Probably the winner is eval - it has minimum overhead.

-W

On 11/02/2014, wtang <wtang at kana.com> wrote:
> To call java function in When we have 3 options:
>
> 1) eval()  // using eval()
> 2) Message (Message.status())
> 3) Boolean (this == true) from $factCondition0.dateWithin(3, "Days") //
> using from key word
>
>
> Of the 3 options above, which one is the slowest and why?
>
> thanks!
>
>
>
> --
> View this message in context:
> http://drools.46999.n3.nabble.com/calling-function-in-When-which-one-is-faster-tp4028076.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>


More information about the rules-users mailing list