-
Notifications
You must be signed in to change notification settings - Fork 560
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
/\G^/ seems abnormally slow #14220
Comments
From @jimavThis is a bug report for perl from jim.avera@gmail.com, Regexs like /\G^/msgc seem abnormally slow. The run-time appears to be quadratic in the total length of the string The problem is specific to using ^ i.e. the exact same regex without ^ The demo script below scans a large string using a sequence of stanzas Here are my results: #!/usr/bin/perl Flags: Site configuration information for perl 5.18.2: Configured by Debian Project at Thu Mar 27 18:28:21 UTC 2014. Summary of my perl5 (revision 5 version 18 subversion 2) configuration: Locally applied patches: @INC for perl 5.18.2: Environment for perl 5.18.2: |
From @iabynOn Fri, Nov 07, 2014 at 11:19:14PM -0800, via RT wrote:
Turns out the optimiser (re_intuit_start()) doesn't cope too well I'm halfway though refactoring re_intuit_start() (that work went into -- |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#123156 (status was 'open')
Searchable as RT123156$
The text was updated successfully, but these errors were encountered: