-
Notifications
You must be signed in to change notification settings - Fork 17
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
Optimise regexp metric name finding #35
Labels
Comments
Was it something like this you had in mind?
Results seem generally to be an improvement, and certainly no worse:
|
Looks good (note you can save yourself effort if you write that in the form of Benchmark... for use with |
Ah handy to know. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use https://golang.org/pkg/regexp/#Regexp.LiteralPrefix and https://golang.org/pkg/sort/#SearchStrings for a simple binary search?
See also #11.
The text was updated successfully, but these errors were encountered: