Skip to content

Conversation

RomaLzhih
Copy link

  • The basic::compressed_node should allocate memory based on its size, rather than the hard-coded value, which may bring trouble when the developer wants to change the node structure.
  • When traversing the tree in augmented_node, one should cast the node to the augmented_node type rather than the basic node, as this may incur a different offset when access the encoded_data.

- The basic_node should alloc memory based on its size, rather than the
hard-coded size, which may bring trouble when developer may want to
change the node structure.
- When traverse the tree in augmented_node, one should cast the node to
augmented_node type rather the basic node, as this may incur different
offset problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant