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

improve performance for large files #22

Merged
merged 1 commit into from
Mar 9, 2017
Merged

improve performance for large files #22

merged 1 commit into from
Mar 9, 2017

Commits on Mar 8, 2017

  1. improve performance for large files

    Using `buf = Buffer.concat([buf, data]);` on the data event copies the
    data in a new larger buffer everytime. Instead, store the intermediate
    small buffers in an array and concat only at the end.
    targos committed Mar 8, 2017
    Configuration menu
    Copy the full SHA
    e23f337 View commit details
    Browse the repository at this point in the history