Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator[] and containsKey() unnecessarily search the subtrees of the target node #1

Closed
qixotic opened this issue Apr 15, 2022 · 1 comment · Fixed by #2
Closed

Comments

@qixotic
Copy link
Contributor

qixotic commented Apr 15, 2022

Looks like if I want an exact key lookup rather than a prefix match, this library still traverses the subtrees rooted at the key's node. I'll attach a pull request to optimize this a little.

@ykmnkmi
Copy link
Owner

ykmnkmi commented Apr 18, 2022

Thanks for contribution.

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 a pull request may close this issue.

2 participants