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

Create ASCII shortcut #103

Open
shner-elmo opened this issue Jul 3, 2024 · 0 comments
Open

Create ASCII shortcut #103

shner-elmo opened this issue Jul 3, 2024 · 0 comments

Comments

@shner-elmo
Copy link

I was thinking, you can probably gain a bit performance by skipping this whole step of remapping byte-indices to unicode-indices when the string is ASCII, because ASCII strings only use one byte per char, so the index remains the same.
Would it be worth it to add such a shortcut?

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

No branches or pull requests

1 participant