[ 
https://issues.apache.org/jira/browse/TINKERPOP-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15197324#comment-15197324
 ] 

ASF GitHub Bot commented on TINKERPOP-1206:
-------------------------------------------

Github user okram commented on the pull request:

    
https://github.com/apache/incubator-tinkerpop/pull/266#issuecomment-197335092
  
    @twilmes -- it would be great if you reviewed this ticket as it has to do 
with speed up in `TraverserRequirement` calculations. Perhaps some profiling 
magic on your side (compared to `master/`) would be possible.


> ExpandableIterator can take a full TraverserSet at once -- Barriers.
> --------------------------------------------------------------------
>
>                 Key: TINKERPOP-1206
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1206
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.1.1-incubating
>            Reporter: Marko A. Rodriguez
>
> I haven't looked at {{ExpandableIterator}} in over a year. Its one of the 
> most fundamental structures of a Gremlin traversal. I just realized it can 
> take an entire {{TraverserSet}}. As such, if the previous step is a 
> {{Barrier}}, don't iterate the barrier out, simply "dump it" into the current 
> steps {{ExpandableIterator}}. That should speed up things significantly -- 
> though there are not that many barrier steps... but still.



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

Reply via email to