Re:Zip.js - A JavaScript library to zip and unzip files
by halter73 on Wednesday February 01, 2012 @10:30AM
(#3538312)
Zip.js only has a .069% size advantage over zip 3.0 given your numbers (4,551,020 bytes & 4,547,885 bytes respectively).
Your calculation of 6.8% better than zip just seemed too impressive.
Re:Zip.js - A JavaScript library to zip and unzip files
by bradleyland on Wednesday February 01, 2012 @12:01PM
(#3538805)
Sorry, was off by a factor of 100.
Showing the math:
zip = 4,551,020
zipjs = 4,547,885
diff = zip - zipjs => 3,135 bytes
pctng_diff = diff/zip × 100 => 0.0688856564%
Using zip 3.0:
Resulting file size: 4,551,020 bytesUsing Chrome 16.0.912.77:
Resulting file size: 4,547,885 bytesSize: Advantage Zip.js by 3,135 bytes (roughly 3k; 6.8% better than zip) Speed: Advantage zip by 3.955s (77% better than Zip.js)