[rules-users] GC Overhead Limit Exceeded and 1B JoinLeftNode Objects
Mark Proctor
mproctor at codehaus.org
Mon Feb 25 03:13:59 EST 2013
On 25 Feb 2013, at 06:46, Wolfgang Laun <wolfgang.laun at gmail.com> wrote:
> On 24/02/2013, Mark Proctor <mproctor at codehaus.org> wrote:
>
>>> when
>>> $sv1 : SiteVisit( yearRecorded == durationCycleYear, !annualVisit )
>>> FaultCode( $sv1.ID==svID, code matches "366.\\d+|743.3\\d?" )
>>> $inspector: Insepector (ID == $sv1.insepectortID)
>>>
>>> $sv2 : SitVisit( yearRecorded == durationCycleYear, !annualVisit )
>>> #make sure we are dealing with the same inspector
>>> Inspector (ID == $sv2.inspectorID, EUID == $inspector.EUID)
>>>
>>> ( FaultCode( $sv2.ID == svID, code matches "45.61" ) or
>>> ServiceCode($sv2.ID == svID, code matches
>>> "66(8[4-9][0-9]|9([0-3][0-9]|40))|66982|66984|66983" ) )
>>>
>> same here
>>
>> Are you sure you want 'or' and not ||.
>
> Mark, how would you suggest to avoid 'or' and use '||' (and I don't
> mean the deprecated alternative to 'or')? You are beginning to confuse
> (even) me!
Many people do not want CE 'or' they want infix '||' used in compound expressions. I later clarified the difference in the follow up email.
Mark
>
> -W
>
>> The 'or' CE can result in two rules
>> firing, if they are not mutually exclusive logical conditions.
> _______________________________________________
> 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