Re: [xml] Compression for dumping to memory

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Mon May 10 1999 - 14:43:34 EDT


On Mon, May 10, 1999 at 10:45:33AM -0500, Perik, Mike wrote:
> I was just looking at your api for compressing xml docs. Is there any plans
> to allow compressing the document in memory? Or is there better way of doing
> this?

  This would make the code quite messy. If you're concerned about
memory size requirement, you can use the SAX interface to avoid building
the DOM tree in memoruy and use just the callback based parser inteface.
Unfortunately building the DOM tree is expensive, memory wise.

  Daniel

-- 
	    [Yes, I have moved back to France !]
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.
----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:26 EDT