Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use faster brotli compression for sweep requests (#47776)
Ben Kunklecc1d3af65e87
diff --git a/crates/edit_prediction/src/sweep_ai.rs b/crates/edit_prediction/src/sweep_ai.rsindex e3178081831..cab57565f8c 100644--- a/crates/edit_prediction/src/sweep_ai.rs+++ b/crates/edit_prediction/src/sweep_ai.rs@@ -200,7 +200,7 @@ impl SweepAi {};let mut buf: Vec<u8> = Vec::new();- let writer = brotli::CompressorWriter::new(&mut buf, 4096, 11, 22);+ let writer = brotli::CompressorWriter::new(&mut buf, 4096, 1, 22);serde_json::to_writer(writer, &request_body)?;let body: AsyncBody = buf.into();