Skip to content
Snippets Groups Projects
Verified Commit d69268dd authored by Denis Smirnov's avatar Denis Smirnov
Browse files

refactoring(perf): reduce memory allocations

1. Implement an improved version of PostOrder tree traversal that
   puts nodes into the result vector only if they apply the filter.
2. Avoid string allocation caused by `ok_or` instead of the
   `ok_or_else`.
3. Remove dead code.
parent 57f71ef0
No related branches found
No related tags found
1 merge request!1414sbroad import
Showing
with 333 additions and 309 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment