[rules-users] column binding vs field binding - any performance implications?

Edson Tirelli tirelli at post.com
Wed Mar 7 12:14:58 EST 2007


  Vlad,

No noticeable difference in binding fields or columns, but there are 
really negative perf impacts in using eval(). I'm writing a blog about 
it. Please try to avoid. I know bellow is just a sample, but it would be 
so much better if written:

Record( field == "xxx" )

[]s
Edson


Olenin, Vladimir (MOH) wrote:

> Hi,
>
> I wonder if there are any performance implications of choosing column 
> binding vs field binding (I’ll be using bound variable in eval). Eg, 
> in such case:
>
> Record($field : field)
>
> eval ( $field.equals(“xxx”) )
>
> vs
>
> $r: Record()
>
> eval ( $r.field.equals(“xxx”) )
>
> Does it start to make difference only when some significant number of 
> variable get bound?
>
> Thanks,
>
> Vlad
>
>------------------------------------------------------------------------
>
>_______________________________________________
>rules-users mailing list
>rules-users at lists.jboss.org
>https://lists.jboss.org/mailman/listinfo/rules-users
>  
>


-- 
 Edson Tirelli
 Software Engineer - JBoss Rules Core Developer
 Office: +55 11 3124-6000
 Mobile: +55 11 9218-4151
 JBoss, a division of Red Hat @ www.jboss.com





More information about the rules-users mailing list