Repository navigation
Perf improvments to node traversals - #400
Merged
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #400 +/- ##
==========================================
+ Coverage 86.52% 86.53% +<.01%
==========================================
Files 20 20
Lines 14072 14081 +9
Branches 2750 2748 -2
==========================================
+ Hits 12176 12185 +9
Misses 977 977
Partials 919 919
Continue to review full report at Codecov.
|
jeromekelleher
left a comment
Member
There was a problem hiding this comment.
Looks great, thanks @benjeffery! Minor style comment above on the usage of "Falsey" values.
benjeffery
force-pushed
the
node-traversal-perf
branch
from
November 6, 2019 22:46
e04a6fb to
ae0ca0d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Roughly halves time taken for node traversals with the
preorder,postorderandlevelordermethods.See #246 for discussion as this came up in the context of adding a time-ordered node traversal.