Skip to content

read central directory from a stream instead of multiple small random access reads #96

@thejoshwolfe

Description

@thejoshwolfe

The central directory is read from start to finish in a predictable linear way. This perfectly fits the pattern of a read stream, except that yauzl is interested in fixed-size chunks of it at a time. There should be some kind of buffer to put in from of a read stream to provide yauzl with the chunks it wants.

This has promising possibilities for optimizing fs access by reducing the number of reads.

This idea interacts with #92.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions