in reply to Re^2: Why oh why is working with XML so bloomin' difficult in Perl?
in thread Modified title: The structures created by many of the XML parsers in Perl appear unnecessarily deep in levels...
XML::Twig is great if you need a pure Perl module, but XML::LibXML will produces results much quicker
XML::Twig is no more Pure Perl than XML::LibXML. Both use C libraries to perform the parsing. It's possible that's XML::LibXML is faster, but it's got nothing to do with language selection.
XML::LibXML [...] isn't as memory heavy.
The whole idea of XML::Twig is to keep nothing in memory that doesn't need to be, whereas XML::LibXML keeps the whole document in memory.
|
---|
In Section
Seekers of Perl Wisdom