xml processing : too slow...

Alex Martelli aleax at aleax.it
Thu Jul 25 12:33:11 EDT 2002


Terry Reedy wrote:

>> I suspect you'll need to get a new parser for each line.
> 
> Is is possible, and might it be faster, to make and use a copy of the
> parser for each line?
> With copy module?

copy.copy is unable to copy objects of type pyexpat.xmlparser -- I
didn't know that, but it took me about 5 secs to try:-).


Alex




More information about the Python-list mailing list