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

Uses Regex instead of fancy-regex - 6x speedup #331

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 5, 2024

  1. Uses Regex in _encode_ordinary_native instead of fancy-regex, to get …

    …a 6x speedup. To make the
    
    regex patterns compatible with Regex, drops part of thpatterns for whitespaces, and handles the
    whitespaces with scripting instead of regex. Still with exact same output. _encode_native calls
    _encode_ordinary_native_impl directly (_encode_ordinary_native is a wrapper of
    _encode_ordinary_native now).
    Majdoddin committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    522cff2 View commit details
    Browse the repository at this point in the history