Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to speed up XML reading

Received: by 10.180.24.135 with SMTP id u7mr1242769wif.3.1347850495241;
        Sun, 16 Sep 2012 19:54:55 -0700 (PDT)
Path: q11ni104415231wiw.1!nntp.google.com!feeder3.cambriumusenet.nl!feeder1.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.bbs-scene.org!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail
From: Manuel Collado <m.coll...@domain.invalid>
Newsgroups: comp.text.xml
Subject: Re: How to speed up XML reading
Date: Wed, 12 Sep 2012 15:33:34 +0200
Organization: Aioe.org NNTP Server
Lines: 18
Message-ID: <k2q37s$a3e$1@speranza.aioe.org>
References: <90f91b88-4700-41d5-8733-dc4b0df946b5@a11g2000yqb.googlegroups.com> <ac4913f4-6a25-4607-9796-6a32c3409251@a11g2000yqb.googlegroups.com> <874nn3d1sr.fsf@dpt-info.u-strasbg.fr> <d2739812-89d2-41ca-86c9-4741ea964108@n9g2000yqn.googlegroups.com>
NNTP-Posting-Host: s1fWul1ma9jIfAy7IfMCbw.user.speranza.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
X-Notice: Filtered by postfilter v. 0.8.2
Bytes: 1674
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

El 12/09/2012 14:52, Ramon F Herrera escribi�:
>...
> Actually, I think that the solution to my performance problem is to
> implement (via SAX?) the reading of the whole XML file and insert the
> variables in my own data structures. That must speed up the variable
> retrieval substantially BUT an XML guru is required, which I am not.
>
> In the meantime, I downloaded libxml and will see how well it
> performs. Perhaps that is the solution to my problem. Being written in
> C, it should be faster than Xerces-C++

You could try Expat, written in C.

-- 
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado