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 loewis, serhiy.storchaka, vstinner
Date 2012-10-31.15:30:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwaaMJkY-M8nyVoU2=u4-fEYFaKk8jsskxRGPpZb9Qp_GA@mail.gmail.com>
In-reply-to <1351691925.51.0.209663807894.issue16311@psf.upfronthosting.co.za>
Content
I ran decodebench.py and bench-diff.py scripts from #14624, I just
replaced repeat=10 with repeat=100 to get more reliable numbers. I
only see some performance regressions between -5% and -1%, but there
are some speedup on UTF-8 and UTF-32 (between +11% and +14%). On a
microbenchmark, numbers in the -10..10% range just means "no change".

Using _PyUnicodeWriter should not change anything to performances on
valid data, only performances of handling decoding errors between the
overallocation factor is different, the code to widen the buffer and
the code to write replacement characters.
History
Date User Action Args
2012-10-31 15:30:41vstinnersetrecipients: + vstinner, loewis, serhiy.storchaka
2012-10-31 15:30:41vstinnerlinkissue16311 messages
2012-10-31 15:30:41vstinnercreate