[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Textual transmission typically faster?

  • From: Matt Sergeant <matt@s...>
  • To: Eugene Kuznetsov <eugene@d...>
  • Date: Thu, 18 Jan 2001 15:52:50 +0000 (GMT)

java serialization faster
On Thu, 18 Jan 2001, Eugene Kuznetsov wrote:

> > I recall one of the presenters at XTech last year had been
> > experimenting with using a Java-serialized DOM rather than the source
> > XML document, and was surprised to find that the Java-serialized DOM
> > was both considerably larger than the *uncompressed* XML and
> > considerably slower to load.
>
> That shouldn't be surprising -- generally speaking a parse tree is
> larger than the text input to the parser. (And java serialization
> doesn't win any awards for efficiency in either time or space).
>
> However, a binary representation of the same data (specified in
> ASN.1 and encoded using BER, say) would be much smaller and more
> efficient.

Stefano Mazzocchi of Apache Cocoon project fame (now left that project)
has developed a binary serialization of SAX that is significantly faster
to load than the original XML (than Xerces non-validating mode).

I think he did some further work on it to make the binary format
smaller...

http://mailman.real-time.com/pipermail/cocoon-devel/2000-October/002689.html

(warning that page contains the compiler/decompiler itself as a Base64
attachment)

But then this is getting off-topic...

-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.