Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Serializing objects that contain an instance of nu.xom.Document, part II

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Bradley S. Huffman" <hip AT cs.okstate.edu>
  • To: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Serializing objects that contain an instance of nu.xom.Document, part II
  • Date: Fri, 20 Feb 2004 09:53:19 -0600

Elliotte Rusty Harold writes:

> Again I ask you, how do you know that? What evidence do you have that
> marshalling/unmarshalling is faster than serializing/parsing? You're
> making an assumption here that I've seen no evidence for. Object
> serialization in Java has a long history of being dog slow. if you
> want to claim it's faster than XML parsing you're going to have to
> measure it.

The numbers from Dennis Sosnoski's article
http://www-106.ibm.com/developerworks/xml/library/x-injava/
suggest that serializing to text and re-parsing is way faster than using
Java's native serialization mechanism.

Brad




Archive powered by MHonArc 2.6.24.

Top of Page