This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB/XMI (XML Machine Interface)
- From: Fabian Cenedese <Cenedese at indel dot ch>
- To: gdb at sources dot redhat dot com
- Date: Mon, 23 Aug 2004 11:28:31 +0200
- Subject: Re: GDB/XMI (XML Machine Interface)
- References: <message on Sat, 21 Aug 2004 14:28:52 PDT from Felix Lee <felix.1@canids.net>
>xml tree parsers also have the disadvantage of needing a lot of
>memory. the estimates are 10x to 30x the size of the xml
>document, which puzzles me. it's not clear to me why you'd need
>more than about 2x. (actually I'd expect more like 0.8x since
>xml is redundantly verbose.)
I guess part of it is because you need additional managing data.
Tree nodes, list nodes, pointers, counters, whatever... In the
XML file the same structure is just laid out by order of the lines.
bye Fabi