[Python-Dev] cpython: Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings: (original) (raw)
Serhiy Storchaka storchaka at gmail.com
Thu Apr 11 21:35:53 CEST 2013
- Previous message: [Python-Dev] cpython (3.3): don't run frame if it has no stack (closes #17669)
- Next message: [Python-Dev] cpython: Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 PyUnicodeDecodeCharmap() for pure 8 bit encodings: cp037, cp500 and iso88591 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.
- Previous message: [Python-Dev] cpython (3.3): don't run frame if it has no stack (closes #17669)
- Next message: [Python-Dev] cpython: Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]