next.js
c783ef8b
- perf(turbopack): Use `Cow::into_owned` instead of `.to_string()` (#75216)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
356 days ago
perf(turbopack): Use `Cow::into_owned` instead of `.to_string()` (#75216) ### What? `Cow::into_owned()` does not allocate in some cases, while `to_string()` always allocate. ### Why? In the name of the performance. ### How?
References
#75216 - perf(turbopack): Use `Cow::into_owned` instead of `.to_string()`
Author
kdy1
Parents
c33eb2b6
Loading