[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mike Brown <mike@s...>
  • To: xml-dev@l...
  • Date: Wed, 04 Apr 2001 16:20:30 -0600 (MDT)

Tim Bray wrote:
> Er.. base64 will *always* increase the size of your binary, 
> by exactly one third.  Which is not too bad, actually -Tim

Also not too bad, since while the binary may be larger, the section of the
XML containing this data will be highly compressible. Every value is
essentially within a 6-bit range, and every 8th bit is zero. A simple
compression scheme based on this info alone would offset most of the
expansion. The content transfer encoding/compression that may be employed
in, say, an HTTP transmission should do much better than this.

   - Mike
_____________________________________________________________________________
mike j. brown, software engineer at  |  xml/xslt: http://skew.org/xml/
webb.net in denver, colorado, USA    |  personal: http://hyperreal.org/~mike/


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member