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, flox, jcea, loewis, pitrou, vstinner
Date 2011-12-18.12:56:14
SpamBayes Score 0.0013314042
Marked as misclassified No
Message-id <1324213034.44.0.536908452284.issue13624@psf.upfronthosting.co.za>
In-reply-to
Content
utf8_encoder_prescan.patch: precompute the size of the output to avoid a PyBytes_Resize() at exit. It is much slower:

ASCII: 100000 loops, best of 3: 2.06 usec per loop
UCS-1: 10000 loops, best of 3: 123 usec per loop
UCS-2: 10000 loops, best of 3: 171 usec per loop
UCS-4: 1000 loops, best of 3: 254 usec per loop
History
Date User Action Args
2011-12-18 12:57:14vstinnersetrecipients: + vstinner, loewis, jcea, pitrou, ezio.melotti, flox
2011-12-18 12:57:14vstinnersetmessageid: <1324213034.44.0.536908452284.issue13624@psf.upfronthosting.co.za>
2011-12-18 12:56:14vstinnerlinkissue13624 messages
2011-12-18 12:56:14vstinnercreate