Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
compress/flate: add Reset method to let callers avoid garbage #6138
Related to issue #6136, flate.NewWriter generates a lot of garbage which can't be controlled by the calling application. Options: -- internal memory reuse in the flate package -- Reset method (like bufio.Reader and bufio.Writer) -- let buffers be passed in
This issue was closed.