Hi all,

I have seen that in the last time the XML/XSLT technologies are very much
promoted as beeing the future in the configuration field at least.
I have tried to parse a very small XML file using XML::Simple but I found
that it works very very slow.
It took more than a half of a second just to get and print the data from a
very small file (less 2 kb).
I am wondering how much time it could take if I would need to parse more XML
files, and filter them using XSLT...

I have tried to load the same information from a MySQL database and with the
whole connection overhead it took less than that. I also tried to parse that
information from a .csv file, and it took 10 times less than using an XML
file.
I've seen that XML::Simple uses the expat C library, and I guess that it
might be the core of more XML parsers, and I am almost sure that this
library causes the slowness, so probably all of them have the same problem.
Is there a faster solution for parsing XML files with Perl?
Is there another library than XML::Simple which works faster, or a trick to
make XML::Simple work faster?

Thank you.

Teddy,
teddy.fcc.ro     [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to