-
Notifications
You must be signed in to change notification settings - Fork 83
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
How is performance of this compared to Go's regex? #19
Comments
Looking at https://godoc.org/github.com/dlclark/regexp2, I suspect this library is a lot slower since working with bytes tend to be a lot faster than strings. |
I have ported several benchmarks from the
And from the stdlib on the same box (go 1.12.1):
Usually the stdlib is faster, but not always. If you need the specific backtracking features I have found the performance is acceptable. If you don't use the backtracking features then you should just use |
Have you done any basic benchmarks?
The text was updated successfully, but these errors were encountered: