[issue25881] A little faster ElementTree serializing

2015-12-16 Thread Martin Panter
Martin Panter added the comment: Suggested further speedup -- nosy: +martin.panter ___ Python tracker ___ ___ Python-bugs-list mailing

[issue25881] A little faster ElementTree serializing

2015-12-16 Thread Serhiy Storchaka
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 El