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

Change output streams to reuse a supplied buffer. #43

Open
partim opened this issue Jan 7, 2022 · 0 comments
Open

Change output streams to reuse a supplied buffer. #43

partim opened this issue Jan 7, 2022 · 0 comments
Milestone

Comments

@partim
Copy link
Member

partim commented Jan 7, 2022

Currently, the output streams (i.e., format::output::Stream and its enclosed types) allocate a new Vec<u8> for each step. We should change this so they only allocate a buffer once and re-use it for each step. They can’t be iterators anymore but c'est la vie.

@partim partim added this to the 0.2.1 milestone Jan 7, 2022
@partim partim removed this from the 0.2.1 milestone Feb 16, 2023
@partim partim added this to the 0.3.0 milestone Nov 23, 2023
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

No branches or pull requests

1 participant