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
As requested by a few users, it seems like it would be pretty useful to access the inserted key of the current node. Currently, this isn't possible because the path compression implementation alters the key so it's null terminated to differentiate between an internal node and a leaf node.
Suggested implementation:
Add another field to each Leaf Node such that it can remember the actual key it was inserted in.
Provide a Getter function that returns the original Key of the current node.
The text was updated successfully, but these errors were encountered:
nickpalmer
pushed a commit
to nick-codes/go-art
that referenced
this issue
Oct 5, 2015
As requested by a few users, it seems like it would be pretty useful to access the inserted key of the current node. Currently, this isn't possible because the path compression implementation alters the key so it's null terminated to differentiate between an internal node and a leaf node.
Suggested implementation:
The text was updated successfully, but these errors were encountered: