Skip to content

perf: remove unnecessary regex#8320

Merged
JSerFeng merged 2 commits intoweb-infra-dev:mainfrom
shulaoda:perf/remove-unnecessary-regex
Nov 4, 2024
Merged

perf: remove unnecessary regex#8320
JSerFeng merged 2 commits intoweb-infra-dev:mainfrom
shulaoda:perf/remove-unnecessary-regex

Conversation

@shulaoda
Copy link
Copy Markdown
Contributor

@shulaoda shulaoda commented Nov 3, 2024

Summary

Some regex patterns can be completely replaced with native string methods to enhance performance.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the release: performance release: performance related release(mr only) label Nov 3, 2024
@netlify
Copy link
Copy Markdown

netlify bot commented Nov 3, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit f3bca4c
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67271d504a549e0008b03df1

@shulaoda shulaoda force-pushed the perf/remove-unnecessary-regex branch from d8322b3 to 0fd0bdf Compare November 3, 2024 06:15
@shulaoda shulaoda force-pushed the perf/remove-unnecessary-regex branch from 379732d to f3bca4c Compare November 3, 2024 06:50
@chenjiahan chenjiahan requested a review from JSerFeng November 4, 2024 03:30
@JSerFeng
Copy link
Copy Markdown
Contributor

JSerFeng commented Nov 4, 2024

Thanks !

@JSerFeng JSerFeng merged commit e014ad6 into web-infra-dev:main Nov 4, 2024
@shulaoda shulaoda deleted the perf/remove-unnecessary-regex branch November 4, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: performance release: performance related release(mr only)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants