[Home] [By Thread] [By Date] [Recent Entries]

  • From: Tim Bray <tbray@t...>
  • To: Gabe Beged-Dov <begeddov@j...>, David Megginson <david@m...>
  • 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
>(Storable).

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.
 -Tim

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
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@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member