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
{{ message }}
This repository has been archived by the owner on May 11, 2023. It is now read-only.
The PR #55 adds a height method to the common::Node trait. This method is required to return the height of the node in the tree. When retrieving the path from a root to a leaf, the instruction set is read from the leaf bits starting at the index corresponding to the root height. The root node reports its height to the iterator.
The Sparse::Node struct implements common::Node and must therefore implement the height method. Currently, the struct does not store its height or have any way of calculating it. Therefore, we must store the height of the node in the node buffer and expose it through a height method.
The text was updated successfully, but these errors were encountered:
The PR #55 adds a
height
method to thecommon::Node
trait. This method is required to return the height of the node in the tree. When retrieving the path from a root to a leaf, the instruction set is read from the leaf bits starting at the index corresponding to the root height. The root node reports its height to the iterator.The
Sparse::Node
struct implementscommon::Node
and must therefore implement theheight
method. Currently, the struct does not store its height or have any way of calculating it. Therefore, we must store the height of the node in the node buffer and expose it through aheight
method.The text was updated successfully, but these errors were encountered: