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 pitrou
Recipients ezio.melotti, pitrou, vstinner
Date 2012-08-10.23:20:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344640663.3412.14.camel@localhost.localdomain>
In-reply-to <1344640349.15.0.138189133173.issue15612@psf.upfronthosting.co.za>
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.

But PyUnicode_Join doesn't realloc() anything, since it creates a buffer
of exactly the right size. So this can't be the answer.
History
Date User Action Args
2012-08-10 23:20:23pitrousetrecipients: + pitrou, vstinner, ezio.melotti
2012-08-10 23:20:23pitroulinkissue15612 messages
2012-08-10 23:20:22pitroucreate