Skip to content

add FastGetCountry func #108

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

Closed
wants to merge 1 commit into from
Closed

add FastGetCountry func #108

wants to merge 1 commit into from

Conversation

ahfuzhang
Copy link

FastGetCountry: when we need country only, this func is 2.91 times faster than Lookup

@oschwald
Copy link
Owner

oschwald commented Jun 13, 2023

This is a general purpose MMDB reader. I have no plans to add special methods for any particular database type. I think something like #91 or the existing deserializer interface should allow for manual control over the decoding when necessary. I also would be open to some sort of path lookup method similar to what libmaxminddb provides.

@oschwald oschwald closed this Jun 13, 2023
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