Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Small performance improvement when creating the RegExp #4

Merged
merged 1 commit into from
Feb 26, 2021
Merged

Small performance improvement when creating the RegExp #4

merged 1 commit into from
Feb 26, 2021

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented Feb 25, 2021

This is a small performance improvement. Instead of creating two regular expressions, only one is created.

@sindresorhus sindresorhus merged commit 709af08 into chalk:main Feb 26, 2021
@ehmicky ehmicky deleted the simplify-regex-creation branch February 26, 2021 14:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants