Closed xuejianxianzun closed 1 year ago
var CMPR = (data.length>10e6 && UZIP!=null) ? UZIP : pako;
The file size of UZIP is much smaller than pako, so I want to use UZIP. Why is there such a condition? What if I always use UZIP? Thank you!
I dont think UZIP always works better than pako. But you can rewrite it to var CMPR = UZIP.
OK. In my test case, UZIP compressed 18% faster and 1% larger than pako. I have set to always use UZIP.
The file size of UZIP is much smaller than pako, so I want to use UZIP. Why is there such a condition? What if I always use UZIP? Thank you!