Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

  (email not shown publicly)

Journal of djberg96 (2603)

Tuesday October 22, 2002
10:42 AM

XML Parsers

[ #8526 ]
Today I learned just how big a difference in speed there can be between a "native" parser, and a parser that uses expat. Holy Hell, there is a *huge* difference.

Of course, this means installing expat everywhere if we decide to use it, and that could be problematic in some cases.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • By native do you mean XML::SAX::PurePerl or something homegrown? Certainly, any pure Perl parser will be a *lot* slower, but if you use XML::SAX::ParserFactory you don't need to install expat (or libxml, which can sometimes be faster) on all boxen, only where/when you need performance.


    -- Robin Berjon []