i use precomp to uncompress a zip file with cmd ./precomp -cn ./temp.zip and reencode it with cmd ./precomp -r ./temp.zip.pcf. It takes 1300ms. And decompressed length is 8572784, reconstrucion length is 225091.
At same time, i use preflate to uncompress the deflate stream of zip file above with cmd ./preflate_demp -s ./temp.zip.deflate and reencode it with cmd ./preflate_demo -r ./temp.zip.deflate. It takes 4000ms. And decompressed length is 8572784, reconstruction length is 236398.
I have checked the code of preflate in precomp, it seems to be the same with original source code, so what possibly could be the reason?
i use precomp to uncompress a zip file with cmd
./precomp -cn ./temp.zipand reencode it with cmd./precomp -r ./temp.zip.pcf. It takes 1300ms. And decompressed length is 8572784, reconstrucion length is 225091.At same time, i use preflate to uncompress the deflate stream of zip file above with cmd
./preflate_demp -s ./temp.zip.deflateand reencode it with cmd./preflate_demo -r ./temp.zip.deflate. It takes 4000ms. And decompressed length is 8572784, reconstruction length is 236398.I have checked the code of preflate in precomp, it seems to be the same with original source code, so what possibly could be the reason?