Base: codex-main originale (prima del fork aKode)

This commit is contained in:
Andrea
2026-11-09 10:37:42 +01:00
commit 7874033c81
10166 changed files with 2728937 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--- a/src/codec/compression.rs
+++ b/src/codec/compression.rs
@@ -239,8 +239,9 @@
CompressionEncoding::Zstd => {
let mut zstd_encoder = Encoder::new(
&decompressed_buf[0..len],
- // FIXME: support customizing the compression level
- zstd::DEFAULT_COMPRESSION_LEVEL,
+ // Favor CodeModeHost response latency over compression ratio.
+ // Level 1 is the fastest positive level and matches the benchmark.
+ 1,
)?;
std::io::copy(&mut zstd_encoder, &mut out_writer)?;
}