![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | A very simple question about binary/text format difference Hi folks, what makes that the SOAP/Xml binary encoding is smaller than the "text" one ? Is is only because the XML tags are more or less suppressed ? More generally, I don't understand how gzip can reduce text file size since I can't see how a character can be store in less than 1 byte. Or is that a text file in an OS has such a big overhead ? Regards |
| | #2 (permalink) |
| Guest | Re: A very simple question about binary/text format difference Oriane, Binary serialization is smaller for two main reasons. One is the lack of the XML tags. The other is that some data fields will be smaller in their binary format. It is between 2 and 10 times smaller on average. For compression, check out this article. Essentially it is just re-encoding the data in a more efficient format. http://www.igeek.com/articles/Software/Compression.txt Hope this helps, Steve "Oriane" <oriane@guermantes.fr> wrote in message news:B4CD6432-0D13-4537-941D-3AD707AA6727@microsoft.com... > Hi folks, > > what makes that the SOAP/Xml binary encoding is smaller than the "text" > one ? Is is only because the XML tags are more or less suppressed ? > > More generally, I don't understand how gzip can reduce text file size > since I can't see how a character can be store in less than 1 byte. Or is > that a text file in an OS has such a big overhead ? > > > Regards |
| | #3 (permalink) |
| Guest | Re: A very simple question about binary/text format difference Hi Steve, "PlatinumBay" <stevanich@community.nospam> a écrit dans le message de news:%23C0UZ1lqHHA.1204@TK2MSFTNGP04.phx.gbl... > Oriane, > > Binary serialization is smaller for two main reasons. One is the lack of > the XML tags. Do you mean that the Xml tags are simply suppressed ? Or that theye are replaced by something less bverbose ? > The other is that some data fields will be smaller in their binary format. > It is between 2 and 10 times smaller on average. What sort of data field is smaller ? Numeric ones ? > > > Hope this helps, Yes indeed. Regards |
| |
| |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete or Format Hard Disk - What's the difference ? | hash | Vista performance & maintenance | 7 | 07-28-2007 01:33 PM |
| Simple text document problem? | Paul Graham | Vista General | 2 | 05-02-2007 01:00 PM |
| Simple Question re: Text in UserControl? | john | Avalon | 2 | 11-30-2006 03:09 AM |