[Python-Dev] cpython: Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
Serhiy Storchaka
storchaka at gmail.com
Thu Apr 11 21:35:53 CEST 2013
On 09.04.13 23:29, victor.stinner wrote:
> http://hg.python.org/cpython/rev/53879d380313
> changeset: 83216:53879d380313
> parent: 83214:b7f2d28260b4
> user: Victor Stinner <victor.stinner at gmail.com>
> date: Tue Apr 09 21:53:09 2013 +0200
> summary:
> Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
> cp037, cp500 and iso8859_1 codecs
I deliberately specialized only most typical case in order to reduce
maintaining cost. Further optimization of two not the most popular
encodings probably not worth additional 25 lines of code.
More information about the Python-Dev
mailing list