diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-12-27 09:16:49 +0000 |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-12-27 09:16:49 +0000 |
commit | 44531cb2dbb7d752b98b2b8195f759a559973612 (patch) | |
tree | afb50e4a83bc0b87475f3a5c40707e5a2c8e1fb3 /Python/import.c | |
parent | 9cb6f7f7a5afd587820ca378ad1129427f25b58f (diff) | |
download | cpython-git-44531cb2dbb7d752b98b2b8195f759a559973612.tar.gz |
Optimize built-in unicode codecs by avoiding unnecessary copying.
The approach used is similiar to what is currently used in the version
of unicodeobject.c in Python 2.x. The only difference is we use
_PyBytes_Resize instead of _PyString_Resize.
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions