STINNER Victor added the comment:

unicode-escape and raw-unicode-escape decoders now use the PyUnicodeWriter API. 
Can you please compare performances of your patch to PyUnicodeWriter API? 
Decoders overallocate the buffer.

According to a comment in the decoder, overallocating is never needed (and will 
be slower). Your patch does not overallocate the buffer. The decoder should 
probably be adjusted to disable overallocation.

Can you please update your patch on the encoder to the last development version?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16334>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to