Skip to content
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

INTERPOLATE-related change made matching of large strings slower #6612

Closed
p6rt opened this issue Oct 14, 2017 · 3 comments
Closed

INTERPOLATE-related change made matching of large strings slower #6612

p6rt opened this issue Oct 14, 2017 · 3 comments
Labels
perf regression Issue did not exist previously

Comments

@p6rt
Copy link

p6rt commented Oct 14, 2017

Migrated from rt.perl.org#132294 (status was 'resolved')

Searchable as RT132294$

@p6rt
Copy link
Author

p6rt commented Oct 14, 2017

From @AlexDaniel

Code​:
my $a = rx/aaaaaab/; 'a' x 999999 ~ 'b' ~~ /$a/; say now - INIT now

¦«2015.12»​:
5.21453528

¦«2016.06»​:
2.98116495

¦«2016.12»​:
4.7695178

¦«2017.06»​:
4.2054743

¦«f72be0f130cf»​:
3.93059297

Possible IRC discussion​: https://irclog.perlgeek.de/perl6-dev/2017-08-24#i_15066525

The time swings back and forth but there's a clear regression (from <3 seconds to >4).

Bisectable points at (2016-09-14) rakudo/rakudo@c3b044d

@p6rt
Copy link
Author

p6rt commented Oct 15, 2017

From @MasterDuke17

As of rakudo/rakudo@317ae16c0e, it now takes 3.3s on my machine.

@p6rt
Copy link
Author

p6rt commented Oct 15, 2017

@MasterDuke17 - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Oct 15, 2017
@p6rt p6rt added perf regression Issue did not exist previously labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf regression Issue did not exist previously
Projects
None yet
Development

No branches or pull requests

1 participant