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

[moar] Use nqp::indexic op in QASTRegexCompilier #350

Merged
merged 2 commits into from Apr 13, 2017
Merged

Conversation

samcv
Copy link
Collaborator

@samcv samcv commented Mar 30, 2017

The only remaining places in QASTRegexCompilier for MVM are used for
character ranges, which need to stay lc and uc to make character ranges
make sense.

This takes advantage of the MoarVM case insensitive string index operator,
giving us at least 1.8x speed boost doing case insensitive regex.

The only remaining places in QASTRegexCompilier for MVM are used for
character ranges, which need to stay lc and uc to make character ranges
make sense.

This takes advantage of the MoarVM case insensitive string index operator,
giving us at least 1.8x speed boost doing case insensitive regex.
@samcv samcv changed the title [moar] Use foldcase in QASTRegexCompilier [moar] Use nqp::indexic op in QASTRegexCompilier Apr 13, 2017
@samcv
Copy link
Collaborator Author

samcv commented Apr 13, 2017

Merging :-) @zoffixznet++ for reminding me of the PR before our release. Would have been a shame if the case insensitive regex improvements were not included in the release!

@samcv samcv merged commit 1b3f6cf into Raku:master Apr 13, 2017
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

1 participant