[perl #131297] [PERF][REGEX] `|@a` is apparently-equivalent to just `@a` but is 70x slower

2019-02-19 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Closing, explanation here: https://github.com/rakudo/rakudo/issues/2708 On 2017-05-12 07:52:34, c...@zoffix.com wrote: > https://irclog.perlgeek.de/perl6-dev/2017-05-12#i_14572067 > > 14:49 m: my @a = 1..12; for ('a' x 100 ~ " -- Jan-12-2017") > xx 100 { when /'-- ' |@a '-' \d**2 '-' \d**4 / { } }

[perl #131297] [PERF][REGEX] `|@a` is apparently-equivalent to just `@a` but is 70x slower

2017-05-12 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131297] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131297 > https://irclog.perlgeek.de/perl6-dev/2017-05-12#i_14572067 14:49 m: my @a = 1..