Skip to content
  • Hiroya Fujinami's avatar
    18f8c514
    Fix memoization for the `/(...){0}/` case (#13169) · 18f8c514
    Hiroya Fujinami authored
    In this case, the previous implementation counted an extra number of
    opcodes to cache and the matching was unstable on memoization.
    
    This patch is to fix that problem by not counting an number of opcodes
    to cache in the parentheses of `(...){0}`.
    18f8c514
    Fix memoization for the `/(...){0}/` case (#13169)
    Hiroya Fujinami authored
    In this case, the previous implementation counted an extra number of
    opcodes to cache and the matching was unstable on memoization.
    
    This patch is to fix that problem by not counting an number of opcodes
    to cache in the parentheses of `(...){0}`.
Loading