[New-bugs-announce] [issue25869] Faster ElementTree deepcopying

Serhiy Storchaka report at bugs.python.org
Tue Dec 15 05:48:07 EST 2015


New submission from Serhiy Storchaka:

According to lxml benchmark [1], deepcopying a tree in ElementTree is about 20 times slower than in lxml. Proposed patch optimizes deepcopying C implementation of ElementTree about 20 times. It is now 5% to 3 times faster than in lxml.

[1] http://lxml.de/performance.html

----------
components: Extension Modules
files: etree_deepcopy.patch
keywords: patch
messages: 256455
nosy: brett.cannon, scoder, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Faster ElementTree deepcopying
type: performance
versions: Python 3.6
Added file: http://bugs.python.org/file41314/etree_deepcopy.patch

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


More information about the New-bugs-announce mailing list