next.js
22899755 - [turbopack] Adopt rcstr! more consistently (#80552)

Commit
278 days ago
[turbopack] Adopt rcstr! more consistently (#80552) Replace construction of `RcStr` instances on constant strings with the `rcstr!` macro which can shift construction costs to compile time and eliminate reference counting. Performance impacts from all the dropped ref counts are minor but do exist ![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/AwJ29EfoPcPdLSwCZxAz/e82b0e64-5803-4883-a89f-3090f1e937ce.png) There is also a small progression in max heap which makes sense, laying out the static rcstrs should be a somewhat easier job compared to mimalloc.
Author
Parents
Loading