OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: half-baked parsers vs binary XML

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: Gabe Beged-Dov <begeddov@jfinity.com>, David Megginson <david@megginson.com>
  • Date: Sun, 28 Mar 1999 10:44:43 -0800

At 07:27 PM 3/27/99 -0800, Gabe Beged-Dov wrote:
>XML::Parser is layered on expat. Anecdotal evidence seems to be that there is an order of
>magnitude performance advantage to "parsing" something other than XML. The two alternatives
>are a textual format that Perl can eval directly (Data::Dumper) and a binary format

That's because there is some breakage in the design of the expat/perl linkage.
In my tests, given a file of  a couple of meg, perl can read it in under
a second, xmlwf (i.e. raw expat) in an almost unmeasurably-short time, and
XML::Parser takes 10 seconds plus.  This is just a bug and will be fixed.

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS