This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Robert Haschke, benjamin.peterson, berker.peksag, guihome, serhiy.storchaka
Date 2016-06-17.19:08:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466190538.63.0.784569781672.issue24424@psf.upfronthosting.co.za>
In-reply-to
Content
This slow down is not such small -- up to 25% for every insertBefore(). If most calls of insertBefore() are not with the same refChild, the benefit from the optimization of one special case can be dwarfed. Try to minimize the overhead of the optimization. If you succeed the chances of acceptance of the patch will increase.

I think that the availability of alternatives (upgrading to Python 3 or using ElementTree) plays against the acception of this optimization. Since it looks more as new feature to me, you have to convince the maintainer of 2.7 to take the patch in 2.7.
History
Date User Action Args
2016-06-17 19:08:58serhiy.storchakasetrecipients: + serhiy.storchaka, benjamin.peterson, berker.peksag, Robert Haschke, guihome
2016-06-17 19:08:58serhiy.storchakasetmessageid: <1466190538.63.0.784569781672.issue24424@psf.upfronthosting.co.za>
2016-06-17 19:08:58serhiy.storchakalinkissue24424 messages
2016-06-17 19:08:57serhiy.storchakacreate