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 vstinner
Recipients benjamin.peterson, ezio.melotti, lemburg, pitrou, serhiy.storchaka, vstinner
Date 2013-04-03.00:27:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364948874.78.0.142906074162.issue16334@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2013-04-03 00:27:55vstinnersetrecipients: + vstinner, lemburg, pitrou, benjamin.peterson, ezio.melotti, serhiy.storchaka
2013-04-03 00:27:54vstinnersetmessageid: <1364948874.78.0.142906074162.issue16334@psf.upfronthosting.co.za>
2013-04-03 00:27:54vstinnerlinkissue16334 messages
2013-04-03 00:27:54vstinnercreate