Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Indigo

Vista - A very simple question about binary/text format difference

 
 
Old 06-08-2007   #1 (permalink)
Oriane


 
 

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 SpecsSystem Spec
Old 06-09-2007   #2 (permalink)
PlatinumBay


 
 

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 SpecsSystem Spec
Old 06-11-2007   #3 (permalink)
Oriane


 
 

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 SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Rich text format to word format .NET General
Rich text format or HTML format Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46