[xml] Using flyweights to reduce DOM size
- From: Matt Sergeant <matt sergeant org>
- To: <xml gnome org>
- Subject: [xml] Using flyweights to reduce DOM size
- Date: Sun, 11 Mar 2001 12:09:43 +0000 (GMT)
I tried to parse a 54M XML file today (the gcide websters dictionary) to
see what would happen. When it started to go into swap I had to kill it...
MSXML uses flyweights [1] to reduce the size of thier DOM. They have some
documentation on MSDN about how a MSXML DOM is generally about 0.9 to 1.1
times the size of the original XML. I believe they also get a performance
boost from this.
Any thoughts on using the flyweight design pattern in libxml?
[1] A well known design pattern, see
http://www.mindspring.com/~mgrand/pattern_synopses.htm#Flyweight
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]