next.js
7d3e330a - perf(turbopack/rcstr): Precompute hash for equality bailout (#78943)

Commit
260 days ago
perf(turbopack/rcstr): Precompute hash for equality bailout (#78943) ### What? Precompute hash for `RcStr` and use it for equality bailout. ### Why? We have lots of `RcStr` in key positions of the hashmap, so adding a fast bailout path to `==` improved the performance. x-ref: https://vercel.slack.com/archives/C06PPGZ0FD3/p1746715835436899?thread_ts=1746658944.635819&cid=C06PPGZ0FD3
Author
Parents
Loading