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

prefix_match() for patricia_map<>? #2

Open
amdei opened this issue Mar 15, 2024 · 2 comments
Open

prefix_match() for patricia_map<>? #2

amdei opened this issue Mar 15, 2024 · 2 comments

Comments

@amdei
Copy link

amdei commented Mar 15, 2024

It would be great if prefix_match() would be implemented for for patricia_map<>, as it is for patricia_set<>.

Was not able to work it out right away with implementation, may be due to #1 or lack of code understanding (yet)...

@mavam
Copy link

mavam commented Mar 19, 2024

Seconding this request. I just did my first experiments with the library today and was curious how can prefix-match on keys in a patricia_map.

@mavam
Copy link

mavam commented Mar 20, 2024

@amdei We vendored the library in tenzir/tenzir#4051 since we don't have a lot time to wait for upstream fixes. (The last commit here is 3 years ago and it's unclear whether maintenance still takes place.) Feel free to cherry-pick.

@unixwitch I'm happy to upstream all of my fixes, just waiting for live signal. 🙂

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

No branches or pull requests

2 participants