-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compress/flate: add Reset method to let callers avoid garbage #6138
Labels
Milestone
Comments
This issue was updated by revision c7d352c. TestOver65kFiles spends all its time garbage collecting. Removing the 1.4 MB of allocations per each of the 65k files brings this from 34 seconds to 0.23 seconds. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/12894043 |
Per comment #2, this bug focused to be about adding a Reset method on flate.Writer so callers can avoid 1.4 MB of garbage per writer if it affects them. Owner changed to @bradfitz. Status changed to Accepted. |
This issue was closed by revision f5f0e40. Status changed to Fixed. |
This issue was updated by revision db12f9d. R=golang-dev, iant CC=golang-dev https://golang.org/cl/13435043 |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Attachments:
The text was updated successfully, but these errors were encountered: