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

use a lookup table for str::upper() and str::lower() #760

Merged
merged 628 commits into from
Dec 6, 2023

Conversation

JDanielSmith
Copy link
Contributor

A naive implementation of str::upper()/str::lower() can be slow because the C run-time might have to deal with locales. Since we only care about ASCII, a lookup table doesn't use much memory and is very fast.

Dan Smith and others added 30 commits January 17, 2022 12:10
Dan Smith added 28 commits November 7, 2023 11:49
@JDanielSmith JDanielSmith self-assigned this Dec 6, 2023
@JDanielSmith JDanielSmith merged commit a869c8a into main Dec 6, 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.

1 participant