Skip to content

Conversation

@jrmuizel
Copy link
Contributor

This improves pattern parsing performance by about 3x by avoiding regex matching when it's not needed.

Previously the EcmaRegexp was recompiling the protocol regex 6 times (once for each scheme that it was trying to match against)

@CLAassistant
Copy link

CLAassistant commented Jan 20, 2026

CLA assistant check
All committers have signed the CLA.

This improves pattern parsing performance by about 3x by
avoiding regex matching when it's not needed.

Previously the EcmaRegexp was recompiling the protocol regex
6 times (once for each scheme that it was trying to match against)
@valenting valenting merged commit 9c4731d into denoland:main Jan 21, 2026
2 checks passed
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.

3 participants