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 more efficient StreamInput implementation #562

Closed
wants to merge 1 commit into from

Conversation

ellisjoe
Copy link
Contributor

@ellisjoe ellisjoe commented Sep 8, 2021

Before this PR

As noted in #561, the existing implementation inefficiently reallocates a new byte array on every call to read(...).

After this PR

Use the provided StreamInput wrapper which internally reuses a singular byte array.

==COMMIT_MSG==
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Sep 8, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Use more efficient StreamInput implementation

Check the box to generate changelog(s)

  • Generate changelog entry

@ellisjoe ellisjoe closed this Sep 8, 2021
@schlosna schlosna deleted the jellis/stream-input branch October 3, 2022 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant