-
Notifications
You must be signed in to change notification settings - Fork 47
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
Use yl2chen/cidranger for prefix matching #4
Comments
enjoy! |
Is https://github.com/anacrolix/torrent/blob/master/iplist/iplist.go of any interest? Probably not as efficient but I use it heavily. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Swap the slice-based (
O(n)
) prefix matching out for https://github.com/yl2chen/cidranger (Thanks @yl2chen!)Edit: Also investigate https://github.com/Kentik/patricia
The text was updated successfully, but these errors were encountered: