xndai opened a new pull request #1799: [CALCITE-3785] HepPlanner.belongToDag() 
doesn't have to use mapDigest…
URL: https://github.com/apache/calcite/pull/1799
 
 
   …ToVertex
   
   To test whether or not a vertex belongs to DAG, we can simply do 
graph.vertexSet().contains(vertex). There's no need to look up in 
mapDigestToVertex map, which incurs overhead of creating the map key. This 
problem was amplified by CALCITE-3713.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to