# New Ticket Created by Aaron Sherman # Please include the string: [perl #128693] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=128693 >
When given a pathological input that will always fail, /\s+$/ seems to take the longest way home. Example in the IRC excerpt, below. >From the IRC discussion: [14:11] <timotimo> m: use nqp; ((" " x 10000) ~ "end") ~~ / \s+$ /; say now - INIT now [14:11] <+camelia> rakudo-moar 68afa3: OUTPUT«10.1804368» [14:11] <timotimo> ah. no. it's definitely the regex :) [14:11] <harmil> nice test case, though! [14:11] <harmil> I'll submit this. At least it will be useful as a note for the future. [14:11] <timotimo> our regex optimizer is dumb as bricks ;) -- Aaron Sherman, M.: P: 617-440-4332 Google Talk, Email and Google Plus: a...@ajs.com Toolsmith, developer, gamer and life-long student.