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" ...@@ -9179,6 +9179,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arc-swap", "arc-swap",
"arrayvec 0.7.6",
"async-trait", "async-trait",
"auto-hash-map", "auto-hash-map",
"bincode", "bincode",
......
...@@ -256,6 +256,7 @@ allsorts = { version = "0.14.0", default-features = false, features = [ ...@@ -256,6 +256,7 @@ allsorts = { version = "0.14.0", default-features = false, features = [
] } ] }
anyhow = "1.0.100" anyhow = "1.0.100"
arc-swap = "1.9.3" arc-swap = "1.9.3"
arrayvec = "0.7.6"
async-trait = "0.1.64" async-trait = "0.1.64"
base64 = "0.22.1" base64 = "0.22.1"
bincode = { version = "2.0.1", features = ["serde"] } bincode = { version = "2.0.1", features = ["serde"] }
......
...@@ -34,6 +34,7 @@ workspace = true ...@@ -34,6 +34,7 @@ workspace = true
[dependencies] [dependencies]
anyhow = { workspace = true } anyhow = { workspace = true }
arc-swap = { workspace = true } arc-swap = { workspace = true }
arrayvec = { workspace = true }
async-trait = { workspace = true } async-trait = { workspace = true }
auto-hash-map = { workspace = true } auto-hash-map = { workspace = true }
bincode = { workspace = true } bincode = { workspace = true }
......
...@@ -430,7 +430,7 @@ impl Display for ReadTracking { ...@@ -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 { pub enum TaskPriority {
#[default] #[default]
Initial, 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