You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BranchNode currently has children and children_hashes. It's impossible for a BranchNode to have a hash of a child but no child address, so perhaps this should be: children: [Option<(LinearAddress, Option<TrieHash>>; Self::MAX_CHILDREN] or something like that
Investigating removing the Box around BranchNode. This saves some memory but at the cost of some memory allocations during many code paths.
See if we can improve consuming LeafNode when converting it to a BranchNode
Investigate any other areas that we can avoid allocating memory
The text was updated successfully, but these errors were encountered:
Tasks
BranchNode
currently haschildren
andchildren_hashes
. It's impossible for aBranchNode
to have a hash of a child but no child address, so perhaps this should be:children: [Option<(LinearAddress, Option<TrieHash>>; Self::MAX_CHILDREN]
or something like thatBox
aroundBranchNode
. This saves some memory but at the cost of some memory allocations during many code paths.LeafNode
when converting it to aBranchNode
The text was updated successfully, but these errors were encountered: