Newbie Question: can this snippet be optimized?
Raymond Hettinger
vze4rx4y at verizon.net
Wed Jun 25 11:44:01 EDT 2003
<Hedr> wrote in message news:3ef9ba07.117801375 at news.skynet.be...
> Hi Pythonians,
>
> The underlying snippet is copied from minidom.py which is in the XML
> package which I am currently using. Cloning nodes seem to take a
> considerable amount of time, hence I went looking in the code whether
> optimizations could be made.
Try applying psyco.bind() to see if you can
get a substantial speed-up.
Raymond Hettinger
More information about the Python-list
mailing list