From c60aeeb19e979e256cc2f324875cb911c1414bc1 Mon Sep 17 00:00:00 2001 From: meh Date: Tue, 1 Sep 2026 14:38:47 +0700 Subject: [PATCH] Take WorkTablesIndex 0.0.9 0.0.9 removes RandomMultiPair, whose insert scanned every entry sharing the key because the value did not participate in the order. Filling one key was quadratic: 356 us per insert at 16,000 values against 333 ns after. MultiPair is now OrdMultiPair, identified and ordered by its (key, value) pair. Nothing here constructs a MultiPair field by field, so the From and SizeMeasurable impls carry over unchanged and this is a dependency bump. Needed so WorkTable beta.15 can build against a published index: WorkTable depends on both crates and this one pins the index exactly. --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 822be0f..07d69b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["codegen", "tools/create-data-file", "tools/dump-data-file"] [package] name = "data_bucket" -version = "0.5.4" +version = "0.5.5" edition = "2021" authors = ["Handy-caT"] license = "MIT" @@ -19,7 +19,7 @@ rkyv = { version = "0.8.17", features = ["uuid-1"] } uuid = { version = "1.11.0", features = ["v4"] } psc-nanoid = { version = "3.1.1", features = ["rkyv", "packed"] } ordered-float = "5.0.0" -indexset = { package = "WorkTablesIndex", version = "=0.0.8", default-features = false, features = ["concurrent", "cdc", "multimap"] } +indexset = { package = "WorkTablesIndex", version = "=0.0.9", default-features = false, 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"] } tokio = { version = "1", features = ["full"] }