|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Textual transmission typically faster?
A decently designed binary data encoding protocol will take less space to encode and transmit, and less time to decode, than a decently designed text based one. Just think: writing an integer as four bytes takes one instruction, maybe two if byteswapping is needed. But writing "32768" takes more bytes, and more time to encode/decode. Text compression costs even more. There is no way to recover those differences. Of course those "decently designed" binary protocols rely on things like contextualized encodings. If you demand self-descriptive data, then it's easy to get to the point where manipulating type data costs so much that encoding/decoding differences are in the noise. And some programming environments basically don't support binary data worth speaking of. So there are going to be tradeoffs to consider. - Dave
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








