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

Add some INTERPOLATE variations #1232

Merged

Conversation

MasterDuke17
Copy link
Contributor

Create INTERPOLATE_ASSERTION and some multis to pull functionality out
of the regular INTERPOLATE multis.

Makes / $rx / and / <$rx> / a bit faster.

Rakudo builds ok and passes make m-test m-spectest.

Create INTERPOLATE_ASSERTION and some multis to pull functionality out
of the regular INTERPOLATE multis.

Makes `/ $rx /` and `/ <$rx> /` a bit faster.
@MasterDuke17
Copy link
Contributor Author

For a 10k line file, ./perl6-m -e 'my @l = "sm.sql".IO.lines; my $s = "Perl6"; my $t = now; my @m = @l.grep(/ $s /); say @m.elems; say now - $t' used to take ~2.7s, now it takes ~2.3s. / <$s> / used to take ~11.4s, now it takes ~10.0s.

@AlexDaniel AlexDaniel merged commit ea3ffa2 into rakudo:master Nov 4, 2017
@AlexDaniel
Copy link
Contributor

Thanks. How come you still have no commit bit?

http://www.perlfoundation.org/contributor_license_agreement print it out, sign it, scan it in (resize your scan to 250KB or less). Email to trademark -at- perlfoundation.org

@MasterDuke17 MasterDuke17 deleted the add_some_INTERPOLATE_variations branch November 4, 2017 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants