-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(lib/trie): refactor
trie.go
and fix additional memory problems (
#2255) - Linear refactor of functions for easier reading - If not modified, nodes of the previous trie generation are returned, meaning newer copied nodes will be left for garbage collection - Comments revised, reduced or added depending on the case - Split functions into smaller functions
- Loading branch information
Showing
4 changed files
with
923 additions
and
621 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
Oops, something went wrong.