Re: [Libxmlplusplus-general] DomParser and SaxParser
- From: murrayc t-online de (Murray Cumming)
- To: libxml++ <libxmlplusplus-general lists sourceforge net>
- Subject: Re: [Libxmlplusplus-general] DomParser and SaxParser
- Date: 22 Nov 2002 15:01:16 +0100
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.
--
Murray Cumming
murray usa net
www.murrayc.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]