next.js
18b94630 - [turbopack] add a new hasher implementation to eliminate allocations (#89059)

Commit
12 days ago
[turbopack] add a new hasher implementation to eliminate allocations (#89059) We only store hashes for TaskTypes in the TaskCache keyspace, so this introduces an allocation free path to compute it. For writing out the TaskCache this wont make much of a difference since we were reusing a scratch buffer, but this should eliminate a source of allocations from the read path. This does of course cause a small binary size regression `157M (160,952K) -> 158M (161,800K) = +1M (+848K)`
Author
Parents
Loading