Skip to content

zlib deflate example #284

Description

@catamphetamine

Stian Jensen recently submitted an idea of "marrying" Node.js native zlib decompressor with fflate's universal Unzipper class.

The end result could be seen in this code:
https://github.com/catamphetamine/read-excel-file/blob/e168f7e5b29589899df11d2dc078b380df025afe/source/zip/unzipFromStream.fflate.js

The native zlib decompressor is about 2x faster than fflate's pure-javascript one.

Perhaps this trick should be included in the package, or in the readme.

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