3 ms·
> If you have half decent internet connection, Compressing and Decompressing the files is going to take more time than simply just sending it or downloading it.
by account42 5y ago
> If you have half decent internet connection, Compressing and Decompressing the files is going to take more time than simply just sending it or downloading it.
This might be true for transmitting files 1-to-1 (and even then, for every connection speed slower than memory there is likely a compression algorithm that makes sense) but most files are distributed 1-to-many which is why algorithms like deflate that might be slow to compress but are fast to decompress make sense.
For example, Linux distributions would not keep switching between gz, bzip2, xz and now zstd for their packages if the choice was pointless.
- ksec 5y agoIt is just an observation I have for quite some time. Right now iOS and macOS spend more time decompressing and verifying the update / download than the time it spend to do transfer. I understand not everyone has fast interest, but someday we may want to start optimise for end to end time rather than just downloading time.