Files
Luke SandbergandGitHub 18b946304b [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)`
2026-03-03 16:20:14 -08:00

23 lines
486 B
TOML

[package]
name = "turbo-bincode"
version = "0.0.0"
description = "Utilities for bincode used in turbo-tasks and turbopack"
license = "MIT"
edition = "2024"
[lib]
[lints]
workspace = true
[dependencies]
bincode = { workspace = true }
either = { workspace = true }
indexmap = { workspace = true }
mime = { workspace = true }
ringmap = { workspace = true }
serde = { workspace = true }
smallvec = { workspace = true }
turbo-tasks-hash = { workspace = true }
unty = { workspace = true }