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

stream: improve Readable.read() performance #7077

Merged
merged 1 commit into from
Jun 14, 2016

Commits on Jun 14, 2016

  1. stream: improve Readable.read() performance

    read() performance is improved most by switching from an array to
    a linked list for storing buffered data. However, other changes that
    also contribute include: making some hot functions inlinable, faster
    read() argument checking, and misc code rearrangement to avoid
    unnecessary code execution.
    
    PR-URL: nodejs#7077
    Reviewed-By: Calvin Metcalf <calvin.metcalf@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    mscdex committed Jun 14, 2016
    Configuration menu
    Copy the full SHA
    6869846 View commit details
    Browse the repository at this point in the history