next.js
172a60ed - perf(turbopack/rcstr): Use precomputed hash (#80074)

Commit
206 days ago
perf(turbopack/rcstr): Use precomputed hash (#80074) ### What? Use precomputed data for hashing instead of rehashing everytime. ### Why? `hash` of `&str` is `O(n)`. Although it's fast, we don't need to pay the cost for memory access. --------- Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
Author
Parents
Loading