Re: [Libxmlplusplus-general] DomParser and SaxParser
- From: Christophe de VIENNE <cdevienne alphacent com>
- To: libxmlplusplus-general lists sourceforge net
- Subject: Re: [Libxmlplusplus-general] DomParser and SaxParser
- Date: Fri, 22 Nov 2002 15:08:08 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Le Vendredi 22 Novembre 2002 15:01, Murray Cumming a écrit :
> On Thu, 2002-11-21 at 18:33, Christophe de VIENNE wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi,
> >
> > I think in a soon future we should reimplement the DomParser on top of
> > the Sax Parser.
> > It may be a bit more difficult, but it would avoid to have this temporary
> > libxml doc in memory, and especially all the nodes of the tree. We would
> > construct directly our Nodes structure.
> > On small documents the current implementation is not a problem, but with
> > big ones it could save a LOT of memory...
>
> It sounds good if you can do it, but I do suggest that we try to reuse
> as much of libxml as possible. XML parsers seem to be more complicated
> then people think - I would prefer to let Daniel worry about
> implementing the correct behaviour. I certainly think it's too early to
> do optimisation if it doesn't add functionality.
I agree on this : it's far too early... But I think the idea was good enough
to be discussed. That's why I introduced it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAj3eOkgACgkQB+sU3TyOQjAeNgCg3GSx/94oPbrqEdCKj4E54IVR
WFAAoJ6QtJkzlYoKiwEI/OvtJz2eTEVx
=zRDF
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]