[go: up one dir, main page]

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

Select optimization: Transform select into set when possible #153

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Andersama
Copy link
Contributor
@Andersama Andersama commented Dec 8, 2020

In testing, compiles faster and generates assembly similar to -O3 even with -Os.

Treats regexs similar to:
(a|b|c)
as
([abc])

@Andersama
Copy link
Contributor Author

This is a transform probably best suited to the parser.

@Andersama
Copy link
Contributor Author
Andersama commented Dec 27, 2020

Should've probably given an example for the difference: compiler explorer

Better example: compiler explorer

@Andersama Andersama force-pushed the patch-1 branch 2 times, most recently from f08f646 to 661ab01 Compare January 2, 2021 17:36
@Andersama Andersama force-pushed the patch-1 branch 2 times, most recently from 3136ca0 to 7f058d6 Compare January 4, 2021 03:47
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.

1 participant