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 pitrou, serhiy.storchaka, vstinner
Date 2013-11-14.09:37:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384421845.71.0.644153662303.issue19581@psf.upfronthosting.co.za>
In-reply-to
Content
PyUnicodeWriter currently overallocates the internal buffer by 25%. On Windows, PyUnicodeWriter is slower than PyAccu API. With an overallocation factor of 50%, PyUnicodeWriter is fastter.

See this message for the benchmark:
http://bugs.python.org/issue19513#msg202312

We might also change the factor on all platform, performances are almost the same with a factor of 25% or 50% on Linux.
History
Date User Action Args
2013-11-14 09:37:25vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2013-11-14 09:37:25vstinnersetmessageid: <1384421845.71.0.644153662303.issue19581@psf.upfronthosting.co.za>
2013-11-14 09:37:25vstinnerlinkissue19581 messages
2013-11-14 09:37:25vstinnercreate