From 522447c3781dd5e263f8e172a7cd4cb9bd36a872 Mon Sep 17 00:00:00 2001 From: Handy-caT <37216852+Handy-caT@users.noreply.github.com> Date: Mon, 12 Jan 2026 16:00:17 +0300 Subject: [PATCH 1/2] WIP --- Cargo.toml | 6 +++--- src/index/unsized_node.rs | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a9ac4ef..d3cfa9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,14 +27,14 @@ lockfree = { version = "0.5.1" } fastrand = "2.3.0" futures = "0.3.30" uuid = { version = "1.10.0", features = ["v4", "v7"] } -data_bucket = "0.3.6" +data_bucket = "0.3.7" # data_bucket = { git = "https://github.com/pathscale/DataBucket", branch = "page_cdc_correction", version = "0.2.7" } # data_bucket = { path = "../DataBucket", version = "0.3.6" } performance_measurement_codegen = { path = "performance_measurement/codegen", version = "0.1.0", optional = true } performance_measurement = { path = "performance_measurement", version = "0.1.0", optional = true } -# indexset = { version = "0.12.3", features = ["concurrent", "cdc", "multimap"] } +indexset = { version = "0.13.0", features = ["concurrent", "cdc", "multimap"] } # indexset = { package = "wt-indexset", path = "../indexset", version = "0.12.10", features = ["concurrent", "cdc", "multimap"] } -indexset = { package = "wt-indexset", version = "0.12.12", features = ["concurrent", "cdc", "multimap"] } +# indexset = { package = "wt-indexset", version = "0.12.12", features = ["concurrent", "cdc", "multimap"] } convert_case = "0.6.0" ordered-float = "5.0.0" parking_lot = "0.12.3" diff --git a/src/index/unsized_node.rs b/src/index/unsized_node.rs index 8620519..ac2c72e 100644 --- a/src/index/unsized_node.rs +++ b/src/index/unsized_node.rs @@ -114,7 +114,7 @@ where split } - fn need_to_split(&self, _: usize, value: &T) -> bool { + fn need_to_split(&self, _: usize) -> bool { let final_length = self.length + value.aligned_size(); final_length >= self.length_capacity && self.inner.len() > 1 } @@ -201,10 +201,6 @@ where self.inner.last() } - fn pre_max(&self) -> Option<&T> { - self.inner.pre_max() - } - fn min(&self) -> Option<&T> { self.inner.first() } From 8a440fec10579006e5efae5f0ed803157ff2820a Mon Sep 17 00:00:00 2001 From: Handy-caT <37216852+Handy-caT@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:17:18 +0300 Subject: [PATCH 2/2] bump --- Cargo.toml | 6 +++--- src/index/unsized_node.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d3cfa9f..a9766cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,12 +27,12 @@ lockfree = { version = "0.5.1" } fastrand = "2.3.0" futures = "0.3.30" uuid = { version = "1.10.0", features = ["v4", "v7"] } -data_bucket = "0.3.7" +data_bucket = "0.3.9" # data_bucket = { git = "https://github.com/pathscale/DataBucket", branch = "page_cdc_correction", version = "0.2.7" } -# data_bucket = { path = "../DataBucket", version = "0.3.6" } +# data_bucket = { path = "../DataBucket", version = "0.3.8" } performance_measurement_codegen = { path = "performance_measurement/codegen", version = "0.1.0", optional = true } performance_measurement = { path = "performance_measurement", version = "0.1.0", optional = true } -indexset = { version = "0.13.0", features = ["concurrent", "cdc", "multimap"] } +indexset = { version = "=0.14.0", features = ["concurrent", "cdc", "multimap"] } # indexset = { package = "wt-indexset", path = "../indexset", version = "0.12.10", features = ["concurrent", "cdc", "multimap"] } # indexset = { package = "wt-indexset", version = "0.12.12", features = ["concurrent", "cdc", "multimap"] } convert_case = "0.6.0" diff --git a/src/index/unsized_node.rs b/src/index/unsized_node.rs index ac2c72e..2be7471 100644 --- a/src/index/unsized_node.rs +++ b/src/index/unsized_node.rs @@ -114,7 +114,7 @@ where split } - fn need_to_split(&self, _: usize) -> bool { + fn need_to_split(&self, _: usize, value: &T) -> bool { let final_length = self.length + value.aligned_size(); final_length >= self.length_capacity && self.inner.len() > 1 }