-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compact: Visit the seed node in the Append method (#20)
Most uses of compact range invoke the visitor for the leaf node before the Append call. This change makes it the default behaviour of Append. The asymmetry between Append and AppendRange can be explained by the fact that Append is usually called when the new leaf hasn't been processed yet, whereas AppendRange is usually called when all the nodes of the compact ranges (as well as nodes below them) have been processed.
- Loading branch information
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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