Hello.

I just committed a change to store the mail attachment data in the 
task file. This is because the 'attdir' class variable trick caused 
numerous problems when instantiating more than one XMLReader/Writer 
(when saving a selection, reading a template, etc), and I couldn't 
think of a simpler way to fix it all.

The problem is that my main task file has grown from ~80Kb to ~25Mb. 
Even before this, I noticed some slugginess when opening it (about ten 
seconds load time). Right now, xml.dom.minidom.parse takes about 170 
seconds to parse the file.

A quick test with xml.etree.ElementTree.parse showed me that it 
parses the exact same file in less than 2 seconds. The version 
included in thirdparty does the same.

So I really think we should move to ElementTree :)

I'm beginning to hack up a first implementation to test it.

Cheers
Jérôme

Reply via email to