I have read the following text in the setuptools documentation:
For maximum performance, Python packages are best installed as zip files.
https://pythonhosted.org/setuptools/setuptools.html#setting-the-zip-safe-flag
Why is it like this? one would think that the unzipping of the file would have negative impact on the performance. Thanks.
2
CPUs are fast and hard disks are (despite SSDs) slow. Thus it’s usually faster to load compressed data from disk (less data to transfer) and uncompress it in memory (needs some CPU time).
2