From: <mis...@sy...> - 2002-12-11 12:05:54
|
Hi, I was very happy to find the TclXml package with it's nice features. I have to parse XML and get the structure back in a tclList for further processing. I used callbacks to get the job done and it worked perfectly well. But if I get big XML-Structures (like over one MByte) the parsing takes way too much time. After checking the documentation and trying to get my calls lighter ( as far as my knowledge goes ) and some checks on what causes the speed loss I realized that it is due to the parser itself. I wrote a little package xml2tcl in C using the C-expat-1.95.0 implementation. On a PIII with 863Mhz I can now parse about 6 MByte/Sec which is fast enaugh for my use. Is there any interest for this here and where can I put the source or the shared lib? Greets Mischa |