Marko A. Rodriguez created TINKERPOP-1491:
---------------------------------------------

             Summary: P.within and P.without P.or/P.and optimization
                 Key: TINKERPOP-1491
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1491
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.2.2
            Reporter: Marko A. Rodriguez


{{P.within(a,b)}} is equivalent to {{P.or(P.eq(2),P.eq(b))}}. Likewise,
{{P.without(a,b)}} is equivalent to {{P.and(P.neq(2),P.neq(b))}}.

The latter of the two are more readily useful to provider optimizers. Thus, I 
think if the arguments to {{within()}} and {{without()}} are less than (?)5(?), 
then we express it in {{or()}}/{{and()}}-form.

 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to