Unverified Commit 32b2c910 authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

turbo-tasks: use heap and DashMap per-priority entries in PriorityRunner

Co-authored-by: 's avatarTobias Koppers <1365881+sokra@users.noreply.github.com>
parent ce5c1958
......@@ -9179,6 +9179,7 @@ version = "0.1.0"
dependencies = [
"anyhow",
"arc-swap",
"arrayvec 0.7.6",
"async-trait",
"auto-hash-map",
"bincode",
......
......@@ -256,6 +256,7 @@ allsorts = { version = "0.14.0", default-features = false, features = [
] }
anyhow = "1.0.100"
arc-swap = "1.9.3"
arrayvec = "0.7.6"
async-trait = "0.1.64"
base64 = "0.22.1"
bincode = { version = "2.0.1", features = ["serde"] }
......
......@@ -34,6 +34,7 @@ workspace = true
[dependencies]
anyhow = { workspace = true }
arc-swap = { workspace = true }
arrayvec = { workspace = true }
async-trait = { workspace = true }
auto-hash-map = { workspace = true }
bincode = { workspace = true }
......
......@@ -430,7 +430,7 @@ impl Display for ReadTracking {
}
}
#[derive(Encode, Decode, Default, Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd)]
#[derive(Encode, Decode, Default, Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub enum TaskPriority {
#[default]
Initial,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment