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

Str library: avoid global state in RE engine #10670

Merged
merged 2 commits into from
Oct 4, 2021

Commits on Oct 2, 2021

  1. Str library: avoid global state in RE engine

    This will work better with Multicore OCaml.
    
    The initial backtrack stack block and the array of registers are now
    local variables of `re_match`, and therefore reside in the C stack.
    
    Backtrack stack blocks were reduced from 500 to 200 entries, so that
    the C stack frame for `re_match` doesn't get too big (under 4 Kb).
    xavierleroy committed Oct 2, 2021
    Configuration menu
    Copy the full SHA
    df753c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. Changes for ocaml#10670

    xavierleroy committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    f32937d View commit details
    Browse the repository at this point in the history