From 7d118e962b000ef2803ce915861a60b4d43e1c7e Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 1 Oct 2022 15:50:01 -0700 Subject: [PATCH 1/2] Bump valence_nbt version in benchmarks Turns out that `BTreeMap`s can be a bit faster than `HashMap`s when the element count is low. --- crates/graphite_binary/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/graphite_binary/Cargo.toml b/crates/graphite_binary/Cargo.toml index 9f17973..48ba47c 100644 --- a/crates/graphite_binary/Cargo.toml +++ b/crates/graphite_binary/Cargo.toml @@ -19,7 +19,7 @@ graphite_binary_macros = { path = "macros", version = "0.1.0" } criterion = "0.3.6" hematite-nbt = "0.5.2" quartz_nbt = "0.2.6" -valence_nbt = "0.1.0" +valence_nbt = "0.2.0" rand = "0.8.5" [[bench]] From 1976db211473efd459fc32c1c108aafbec966469 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 17 Oct 2022 21:23:24 -0700 Subject: [PATCH 2/2] Bump valence_nbt version --- crates/graphite_binary/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/graphite_binary/Cargo.toml b/crates/graphite_binary/Cargo.toml index 48ba47c..e22a8fc 100644 --- a/crates/graphite_binary/Cargo.toml +++ b/crates/graphite_binary/Cargo.toml @@ -19,7 +19,7 @@ graphite_binary_macros = { path = "macros", version = "0.1.0" } criterion = "0.3.6" hematite-nbt = "0.5.2" quartz_nbt = "0.2.6" -valence_nbt = "0.2.0" +valence_nbt = "0.3.0" rand = "0.8.5" [[bench]]