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.
Stian Jensen recently submitted an idea of "marrying" Node.js native
zlibdecompressor withfflate's universalUnzipperclass.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
zlibdecompressor is about 2x faster thanfflate's pure-javascript one.Perhaps this trick should be included in the package, or in the readme.