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

Parse entries from a Readable stream #97

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Nov 13, 2018

  1. Parse entries from a Readable stream

    This replaces multiple (2 x entry count) small reads with a single read
    stream containing the full central directory and eliminates many
    intermediate Buffer allocations and copies in the process, which were
    resulting in increased time spent reading entries.
    
    This is a port of the old entry parsing code to a Transform stream (as
    an ES6 class; available since Node 6.0.0). The central directory size is
    read from the ZIP64 end of central directory record (if available) and
    used to bound the size of the requested Readable stream.
    
    lazyEntries: true is implemented by pausing the stream and reading
    individual Entry objects as requested.
    mojodna committed Nov 13, 2018
    Configuration menu
    Copy the full SHA
    9451451 View commit details
    Browse the repository at this point in the history
  2. Fix Node 8.x failures

    mojodna committed Nov 13, 2018
    Configuration menu
    Copy the full SHA
    bda7b66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    130cc7d View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2018

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

Commits on Dec 1, 2018

  1. Configuration menu
    Copy the full SHA
    985a3f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    623ec6d View commit details
    Browse the repository at this point in the history