chervonij / DFL-Colab

DeepFaceLab fork which provides IPython Notebook to use DFL with Google Colab
1.05k stars 265 forks source link

variable added to zipping function to store only (without compression) #50

Closed camjac251 closed 2 years ago

camjac251 commented 2 years ago

I noticed that there is a significant speed boost in zipping up folders by using the -0 variable which stores the contents 1:1 without any recompression, inside of the zip file. With compression, the file size is a little under 98% of the original, but at a big decrease in speed when compressing/decompressing the file. Zip files would be larger with this addition but the savings in speed could outweigh the size differences.

chervonij commented 2 years ago

@camjac251 Yes, that makes sense. Thanks.