You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2021/10/26 15:10:00 UTC
[jira] [Closed] (TINKERPOP-2625) Optimize empty P within/without
[ https://issues.apache.org/jira/browse/TINKERPOP-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Mallette closed TINKERPOP-2625.
---------------------------------------
Resolution: Won't Do
> Optimize empty P within/without
> -------------------------------
>
> Key: TINKERPOP-2625
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2625
> Project: TinkerPop
> Issue Type: Improvement
> Components: language, process
> Affects Versions: 3.5.1
> Reporter: Stephen Mallette
> Priority: Minor
>
> On TINKERPOP-2621 we allowed the grammer to properly process empty {{P.within/out()}}. From there a next step would be to optimize those a bit:
> * {{has(key, within(''))}} is always false in which case we can replace within('') with false.
> * {{has(hey, without(''))}} is always true in which case this step/HasContainer can be removed from the traversal as a filter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)