Skip to content
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

Use sync.Pool to reduce lengthReader allocations #5848

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Use sync.Pool to reduce lengthReader allocations #5848

merged 3 commits into from
Oct 16, 2023

Commits on Oct 2, 2023

  1. Use sync.Pool to reduce lengthReader allocations

    Signed-off-by: Harish Shan <[email protected]>
    perhapsmaple committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    3edc716 View commit details
    Browse the repository at this point in the history
  2. Add defer putLengthReader to prevent leak

    Signed-off-by: Harish Shan <[email protected]>
    perhapsmaple committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    2c9d8eb View commit details
    Browse the repository at this point in the history
  3. Cleanup in putLengthReader

    Co-authored-by: Francis Lavoie <[email protected]>
    perhapsmaple and francislavoie authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    d74e227 View commit details
    Browse the repository at this point in the history