Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

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.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > Indigo

A very simple question about binary/text format difference

 
 
Thread Tools Display Modes
Old 06-08-2007   #1 (permalink)
Oriane
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

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



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








Vistax64.com 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 2005-2008

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 47 48 49 50