-
Notifications
You must be signed in to change notification settings - Fork 580
Slow global pattern match if match fails #13394
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
Comments
From @hknutzenThis is a bug report for perl from heinz.knutzen@gmail.com, I tried perl 5.19.5 to increase the runtime performance of my perl The problem can be shown at this small example. slow.pl my $in = 'a' x shift . 'b'; If run with version 5.19.5, the runtime grows quadratically with the Runtime for both versions of perl: Flags: Site configuration information for perl 5.19.5: Configured by hk at Sat Nov 2 22:50:53 CET 2013. Summary of my perl5 (revision 5 version 19 subversion 5) configuration: @INC for perl 5.19.5: Environment for perl 5.19.5: |
From @wolfsage$ ../perl-1/Porting/bisect.pl -j 4 -e 'my $in = "a" x 160000 . "b"; HEAD is now at cf44e60 fix intuit_start() with \G fix intuit_start() with \G Intuit assumed that any anchor, including \G, anchored at BOS or after \n. This has never been spotted before, since intuit used to be skipped when :100644 100644 94dc3ceb53b08a5c9cac8f162abeb9799242f8f1 -- Matthew Horsfall (alh) |
The RT System itself - Status changed from 'new' to 'open' |
From @iabynOn Sun, Nov 03, 2013 at 11:13:48AM -0500, Matthew Horsfall (alh) wrote:
Now fixed with this: commit 0b2c2a8 RT #120446: /\Ga/ running slowly on long strings M regexec.c -- |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#120446 (status was 'resolved')
Searchable as RT120446$
The text was updated successfully, but these errors were encountered: