If you don't need a true XML parser, you could probably use Parser.HTML. I don't think it get very much faster then that, of course, depending on what you do.
/ Mirar
Previous text:
2003-02-28 16:49: Subject: Parser.XML - The slow, the fat and the hungry :)
Hi everybody,
Is there any alternative to Parser.XML, accessible from Pike? Modules etc? Or are there any plans to rewrite it in C, possibly using something like libxml2?
Perhaps someone may ask - what is wrong with Parser.XML?.. Well, it takes approximaly 20M RAM and 6 seconds to parse (only) 1M XML file (it contains approx. 80000 tags). This is a way too much, IMHO (libxml2 takes approx. 0.5s and only 4M RAM for same file - while this is not perfect too but more acceptable).
Any ideas? Suggestions? Comments? Flames? :)
Regards, /Al
/ Brevbäraren