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 ezio.melotti, pitrou, vstinner
Date 2012-08-10.23:12:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344640349.15.0.138189133173.issue15612@psf.upfronthosting.co.za>
In-reply-to
Content
> I would like to know why that is the case.
> If PyUnicode_Join is not optimal, then perhaps we should
> better optimize it.

I don't know. _PyUnicodeWriter overallocates its buffer (+25%). It may reduce the number of realloc(), and so the number of times that the buffer is copied.
History
Date User Action Args
2012-08-10 23:12:29vstinnersetrecipients: + vstinner, pitrou, ezio.melotti
2012-08-10 23:12:29vstinnersetmessageid: <1344640349.15.0.138189133173.issue15612@psf.upfronthosting.co.za>
2012-08-10 23:12:28vstinnerlinkissue15612 messages
2012-08-10 23:12:28vstinnercreate