[issue24424] xml.dom.minidom: performance issue with Node.insertBefore()

Robert Haschke report at bugs.python.org
Fri Jun 17 16:13:15 EDT 2016


Robert Haschke added the comment:

I don't see how to further minimize the checks - all of them are required. I think, the most common uses cases to create a document are appendChild(), which is not affected, and insertBefore() using the same refChild for a while. In that case, the patch gives a tremendous speedup.

If you as maintainers don't want to share this improvement with the community, it's your choice and I will be fine with that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24424>
_______________________________________


More information about the Python-bugs-list mailing list