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

             Summary: Change the Gryo serialization for StarGraph (Vertex, 
Properties, then Edges)
                 Key: TINKERPOP-1128
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1128
             Project: TinkerPop
          Issue Type: Improvement
          Components: io
    Affects Versions: 3.1.1-incubating
            Reporter: Marko A. Rodriguez


Right now we serialize first the vertex, then its edges, then its properties. 
We should do vertex, properties, edges. Why? If we know that the vertex is to 
be filtered (which is an analysis of its label/id/properties), then we can skip 
over analyzing its edges. Right now, we may do all this work deserializing 
edges only to realize that the {{GraphFilter}} says that the vertex is 
filtered. Dah, pointless clock cycles -- especially when edge sets can be 
massive.



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

Reply via email to