-
-
Notifications
You must be signed in to change notification settings - Fork 443
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
perf(linter): replace string operations with cow_utils::CowUtils
#5586
Labels
A-linter
Area - Linter
C-enhancement
Category - New feature or request
good first issue
Experience Level - Good for newcomers
Comments
Boshen
added
C-enhancement
Category - New feature or request
good first issue
Experience Level - Good for newcomers
A-linter
Area - Linter
labels
Sep 7, 2024
Boshen
pushed a commit
that referenced
this issue
Sep 9, 2024
part of #5586 --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Boshen
pushed a commit
that referenced
this issue
Sep 9, 2024
part of #5586 In addition, can a similar situation in the [formatter](https://github.com/oxc-project/oxc/blob/main/crates/oxc_prettier/src/format/mod.rs#L1406-L1409) be handled in this way?
Boshen
added a commit
that referenced
this issue
Sep 10, 2024
The remaining cases in #5662 should be fixed. Feel free to use the PR as the base and make changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-linter
Area - Linter
C-enhancement
Category - New feature or request
good first issue
Experience Level - Good for newcomers
I noticed we have many allocation methods which can be replaced by
https://docs.rs/cow-utils/0.1.3/cow_utils/trait.CowUtils.html
Feel free to grep them in the
oxc_linter
crate and make improvements. You may find inefficient routines in the process, feel free to make separate PRs.The text was updated successfully, but these errors were encountered: