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

Implemented Strcasecomp #439

Closed
wants to merge 10 commits into from
Closed

Implemented Strcasecomp #439

wants to merge 10 commits into from

Conversation

Griezn
Copy link
Contributor

@Griezn Griezn commented Aug 22, 2024

This pr fixes #438. With the usage of strncasecmp the function stumpless_prival_from_stringno longer allocates extra memory.

From the tests I ran this reduced the benchmark time (PrivalFromString) from ~2s to ~0.5s.

I removed 2 tests because they no longer made sense.

@Griezn Griezn closed this Aug 22, 2024
@Griezn Griezn deleted the strcasecomp branch August 22, 2024 20:19
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.

Implement strcasecmp to avoid creating an uppercase copy
1 participant