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

Avoid repeated costly copies of buffers when working with encoders #811

Merged
merged 2 commits into from
Jul 20, 2020

Commits on Jul 7, 2020

  1. Avoid repeated costly copies of buffers when working with encoders

    Instead of using `Buffer.concat` whenever writing into the encoder, and thereby copying the byte
    contents of earlier added content potentially many times, this commit changes the encoder to use
    a bigger pre-allocated buffer to write into directly. If that buffer fills up it a new one will be created
    and the old contents copied into that.
    ankon committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    deb6971 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2020

  1. Configuration menu
    Copy the full SHA
    2ca7444 View commit details
    Browse the repository at this point in the history