From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2949 invoked by alias); 23 Aug 2004 09:27:09 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2935 invoked from network); 23 Aug 2004 09:27:08 -0000 Received: from unknown (HELO smtp.hispeed.ch) (62.2.95.247) by sourceware.org with SMTP; 23 Aug 2004 09:27:08 -0000 Received: from indel.ch (217-162-27-127.dclient.hispeed.ch [217.162.27.127]) by smtp.hispeed.ch (8.12.6/8.12.6/tornado-1.0) with SMTP id i7N9R7BF006308 for ; Mon, 23 Aug 2004 11:27:08 +0200 Received: from fabi.indel.ch [192.168.1.19] by indel.ch [127.0.0.1] with SMTP (MDaemon.v2.7.SP5.R) for ; Mon, 23 Aug 2004 11:26:42 +0200 Message-Id: <5.2.0.9.1.20040823112636.01d5da08@NT_SERVER> X-Sender: cenedese@NT_SERVER (Unverified) Date: Mon, 23 Aug 2004 09:27:00 -0000 To: gdb@sources.redhat.com From: Fabian Cenedese Subject: Re: GDB/XMI (XML Machine Interface) In-Reply-To: <20040822025527.96F5D511B4A@stray.canids> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDaemon-Deliver-To: gdb@sources.redhat.com X-Return-Path: cenedese@indel.ch X-SW-Source: 2004-08/txt/msg00282.txt.bz2 >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