Merge pull request #791 from ludovic111/perf/zlib-rs
🤖 Agent: merged zlib-rs compression (chunk deflate 1.98× faster, writer-thread deflate −60%; 222/222 harnesses locally, verify green).
This commit is contained in:
@@ -37,7 +37,7 @@ miniz_oxide = "0.8"
|
||||
ab_glyph = "0.2.32"
|
||||
log = "0.4"
|
||||
chrono = { version = "0.4.42", default-features = false, features = ["clock", "std"] }
|
||||
flate2 = { version = "1.1.10", default-features = false, features = ["rust_backend"] }
|
||||
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|
||||
horizon-theme = { path = "../horizon-theme" }
|
||||
# Opt-in data collection: the game keeps, the launcher sends (docs/telemetry.md).
|
||||
horizon-telemetry = { path = "../horizon-telemetry", default-features = false }
|
||||
|
||||
@@ -8,7 +8,7 @@ description = "Horizon's Minecraft Java Edition 26.3 network protocol (version 7
|
||||
|
||||
[dependencies]
|
||||
horizon-world = { path = "../horizon-world" }
|
||||
flate2 = { version = "1.1.10", default-features = false, features = ["rust_backend"] }
|
||||
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|
||||
serde_json = "1.0.151"
|
||||
# The shared secret and RSA padding (OS randomness) and the server hash.
|
||||
getrandom = "0.3"
|
||||
|
||||
@@ -13,7 +13,7 @@ serde = { version = "1", features = ["derive"] }
|
||||
sha2 = "0.10"
|
||||
postcard = { version = "=1.1.3", default-features = false, features = ["alloc"] }
|
||||
horizon-core = { path = "../horizon-core" }
|
||||
flate2 = { version = "1.1.10", default-features = false, features = ["rust_backend"] }
|
||||
flate2 = { version = "1.1.10", default-features = false, features = ["zlib-rs", "runtime_detection"] }
|
||||
lz4_flex = { version = "0.14", default-features = false, features = ["std", "safe-encode", "safe-decode", "checked-decode"] }
|
||||
xxhash-rust = { version = "0.8.19", features = ["xxh32"] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user