3 ms·
Looks like .gz is basically a free lunch in terms of CPU/memory impact with a decent size savings.
by zdw 6y ago
Looks like .gz is basically a free lunch in terms of CPU/memory impact with a decent size savings.
- jonstewart 6y agoI was surprised to see xz and bzip2, but not LZ4 or Snappy.
- minusf 6y agothe algorithms chosen are a mix of "most common" and what comes out of the box with python's standard library to avoid extra dependencies.
- pauloxnet 6y agoExactly. I replied also before reading you answer.
- pauloxnet 6y agoThe Django code use only compression algorithms already included in the Python standard library to avoid unnecessary dependencies.
- pauloxnet 6y agoYou're totally right. But you can choose also to use xz or bz2 for smaller files if you have spare cpu/memory.