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

Child to ancestors iterator #14

Merged
merged 6 commits into from
Apr 29, 2024

Conversation

shanecelis
Copy link
Contributor

Hi Sho,

I added a child to ancestors iterator. My intended usage is this: with incremental search in trie-rs, it can provide the current prefix. I added two tests as well.

The function is named child_to_ancestors(); however, I could see child_to_parents() being a workable name.

shanecelis added a commit to shanecelis/trie-rs that referenced this pull request Apr 28, 2024
If that PR gets merged, we'll put it back.
@laysakura laysakura merged commit 44690a3 into laysakura:master Apr 29, 2024
1 check passed
@laysakura
Copy link
Owner

Thanks!

@laysakura
Copy link
Owner

Released this in v0.7.0: https://crates.io/crates/louds-rs/0.7.0

@shanecelis
Copy link
Contributor Author

Thanks, Sho!

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.

2 participants