photopea / UZIP.js

Simple ZIPping library for Javascript
MIT License
187 stars 27 forks source link

Usage in UPNG and UTIF #13

Closed 101arrowz closed 4 years ago

101arrowz commented 4 years ago

This package claims to be faster than pako, so why isn't it used in UPNG or UTIF?

photopea commented 4 years ago

Hi, only the decompression is always faster and UPNG uses it (minified e.g. as UPNG.decode._inflate).

The compression is not always better than pako.js and I did not have enough time to do an advanced testing, that is why I stick with pako.js for compression (as it is a port of ZLIB used by billions of people).