New submission from Serhiy Storchaka: Proposed patch makes ElementTree serializing to xml and html formats a little faster. For example the write_utf8_parse_bytesIO test from lxml benchmark suite now is up to 5% faster, tostring_utf8 now is up to 9% faster.
Even with this patch, serializing ElementTree still is a weak link in comparison with lxml, it is 3-5 times slower. ---------- components: Library (Lib), XML files: etree_write.patch keywords: patch messages: 256517 nosy: scoder, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: A little faster ElementTree serializing type: performance versions: Python 3.6 Added file: http://bugs.python.org/file41328/etree_write.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25881> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com