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

Rewrite "has_match" function in a more efficient and readable way #109

Closed
wants to merge 1 commit into from
Closed

Rewrite "has_match" function in a more efficient and readable way #109

wants to merge 1 commit into from

Conversation

voronkovich
Copy link

No description provided.

@jhawthorn
Copy link
Owner

Could you provide some details on why you believe this is more efficient (and on what system)?

In my testing (on a linux machine with glibc) strpbrk is heavily optimized and is about 20% faster than this implementation.

@voronkovich
Copy link
Author

@jhawthorn, You're right, sorry for confusing!

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