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

perf: only iter on found escape sequences #304

Merged
merged 1 commit into from
Jul 27, 2023

Commits on Jul 26, 2023

  1. perf: only iter on found escape sequences

    Finding used sequences is much faster than iterating over each one of them for each character.
    
    The iteration is still used, but at least it will only be used once per any sequence that is actually used in the string.
    
    Most strings won't include any sequences and will just be fast.
    
    @moduon MT-1075
    yajo committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    9284df3 View commit details
    Browse the repository at this point in the history