Skip to content

Conversation

natecook1000
Copy link
Member

It doesn't seem like regex instantiation is being hoisted out of loops, which means that both the parsing (which happens at runtime) and compilation (which happens on first use) are being lost for string-based and possibly literal regexes. This may address the issue.

There are at least two other initializers that could/should have this attribute (1 2), but adding it causes a compiler crash.

It doesn't seem like regex instantiation is being hoisted out
of loops, which means that both the parsing (which happens at runtime)
and compilation (which happens on first use) are being lost for
string-based and possibly literal regexes. This may address the
issue.
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