In perl.git, the branch smoke-me/yves_rt122283 has been created

<http://perl5.git.perl.org/perl.git/commitdiff/f2468569d937468e8ba80c050b127afb0fad8387?hp=0000000000000000000000000000000000000000>

        at  f2468569d937468e8ba80c050b127afb0fad8387 (commit)

- Log -----------------------------------------------------------------
commit f2468569d937468e8ba80c050b127afb0fad8387
Author: Yves Orton <[email protected]>
Date:   Mon Sep 22 16:38:58 2014 +0200

    restore color to debug diagnostics

M       regexec.c

commit 8ea37dbfe33e1a0d4df3e3392110e26c54afe665
Author: Yves Orton <[email protected]>
Date:   Fri Sep 19 19:57:34 2014 +0200

    rt 122283 - do not recurse into GOSUB/GOSTART when not SCF_DO_SUBSTR
    
    See also comments in patch. A complex regex "grammar" like that in
    RT 122283 causes perl to take literally forever, and exhaust all
    memory during the pattern optimization phase.
    
    Unfortunately I could not track down exacty why this occured, but
    it was very clear that the excessive recursion was unnecessary and
    excessive. By simply eliminating the unncessary recursion performance
    goes back to being acceptable.
    
    I have not thought of a good way to test this change, so this patch
    does not include any tests. Perhaps we can test it using alarm, but
    I will follow up on that later.

M       regcomp.c
-----------------------------------------------------------------------

--
Perl5 Master Repository

Reply via email to