aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2022-08-19 14:14:08 -0500
committerGitHub <noreply@github.com>2022-08-19 14:14:08 -0500
commitac4d675d44a93a6625f508263c650206a7ff1f98 (patch)
tree38822285da0b365bfd7f2e347d19e1e2db78bd46 /Cargo.lock
parentb9cb596ea75b446d19e6ad066c750348be60f4c7 (diff)
downloadazalea-drasl-ac4d675d44a93a6625f508263c650206a7ff1f98.tar.xz
NBT decoder optimizations (#17)
* replace HashMap with AHashMap * faster read_string by just doing read_exact * re-enable all the benchmarks
Diffstat (limited to 'Cargo.lock')
-rwxr-xr-xCargo.lock12
1 files changed, 12 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 5f1bdb2e..fc80ad39 100755
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -20,6 +20,17 @@ dependencies = [
]
[[package]]
+name = "ahash"
+version = "0.7.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47"
+dependencies = [
+ "getrandom",
+ "once_cell",
+ "version_check",
+]
+
+[[package]]
name = "anyhow"
version = "1.0.59"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -183,6 +194,7 @@ dependencies = [
name = "azalea-nbt"
version = "0.1.0"
dependencies = [
+ "ahash",
"azalea-buf",
"byteorder",
"criterion",