Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2625

Optimize empty P within/without

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 3.5.1
    • None
    • language, process
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: