ietf-smtp
[Top] [All Lists]

Re: [ietf-smtp] Compressing SMTP streams

2016-01-29 05:01:15
On Fri 29/Jan/2016 08:12:28 +0100 Carl S. Gutekunst wrote:

The most common attachment types also are not compressible: PDF, JPEG,
pkzip.

I seem to worsen compression by ~102.5% on zip files, running something like:

   for f in *.zip; do
      os=$(stat -c %s $f)
      vs=$(base64 < $f | gzip -c | wc -c)
      printf '%-28s %10d %10d %8.2f%%\n' \
         "$f" $os $vs "$(echo 100\*$vs/$os | bc -l)"
   done | sort -rnk 2

Ale

_______________________________________________
ietf-smtp mailing list
ietf-smtp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf-smtp

<Prev in Thread] Current Thread [Next in Thread>