XML Parsing with no memory allocation.

"Jean-Marie Dautelle" <[email protected]> Tue, 03 Jun 2003 17:01:14 -0400
Newsgroups gmane.text.xml.sax.general,gmane.text.xml.sax.devel
Message-ID <[email protected]>
XML parsing generates a lot of temporary objects (mostly String). Not
only these object creations reduce parsing speed but it can also lead to
interminable pauses when garbage collection occurs.

By slightly modifying the SAX2 interface, replacing String with the more
generic CharSequence interface. It is possible to write significantly
faster parsers.

To illustrate this point, I wrote a XML RealtimeParser (SAX2-like)
available at http://jade.dautelle.com  Benchmark have shown this parser
2-3x faster than conventional SAX2 parser!

If you have any question, do not hesitate to contact me.

Regards.
Jean-Marie Dautelle.



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
List: [email protected]
See:  http://www.saxproject.org
https://lists.sourceforge.net/lists/listinfo/sax-users