RT #120446: /\Ga/ running slowly on long strings
authorDavid Mitchell <davem@iabyn.com>
Tue, 5 Nov 2013 12:29:07 +0000 (12:29 +0000)
committerDavid Mitchell <davem@iabyn.com>
Tue, 5 Nov 2013 12:33:25 +0000 (12:33 +0000)
commit0b2c2a842a8f76db2da99f89dd2f174301893727
tree5553e00826e956ee363cdfd19744dd93e1b2f210
parentea238638ab35cef3a59dff8b7a19970b7d76c1fd
RT #120446: /\Ga/ running slowly on long strings

This commit reverts my commit cf44e600505da0c8da2d64849647ce2d39c46808
(except for the tests), which incorrectly disabled fix-string intuiting
in the presence of anchored \G. I thought that the old behaviour was
logically incorrect, but it wasn't (or at least I don't see it that way
now, and none of the tests I added at the time fail under the old regime).
regexec.c
t/re/pat.t