Dandandan opened a new issue, #9579: URL: https://github.com/apache/arrow-rs/issues/9579
## Description Currently, Snappy decompression uses `resize(len, 0)` which zero-fills the buffer before writing. Since Snappy will overwrite the entire region on success, this memset is wasted work. ## Proposed Change Write directly into spare capacity using `reserve()` + `spare_capacity_mut()` + `set_len()`, eliminating the unnecessary zero-fill. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
