special_dragonfly a écrit :
> Hello,
(snip)
> The function doesn't return anything, but it's called often enough and
> depending on the optimisation I'll be able to use the same style in other
> areas of the program.
>
> previous code:
> def CreatePerson(text_buffer):
> dom=xml.dom.minidom.p
special_dragonfly <[EMAIL PROTECTED]> wrote:
...
> dom=xml.dom.minidom.parseString(text_buffer)
If you need to optimize code that parses XML, use ElementTree (some
other parsers are also fast, but minidom ISN'T).
Alex
--
http://mail.python.org/mailman/listinfo/python-list