![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | 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 |
My System Specs![]() |
| | #2 (permalink) |
| | 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 |
My System Specs![]() |
| | #3 (permalink) |
| | 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 |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Rich text format to word format | .NET General | |||
| Rich text format or HTML format | Vista performance & maintenance | |||