summaryrefslogtreecommitdiffstats
path: root/Objects/abstract.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-21 17:08:06 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-06-21 17:08:06 (GMT)
commitf1913ca37f65190cc6f48d9a9404453a131c124a (patch)
treed3a033f435936444e6432657e9df7d3662633af3 /Objects/abstract.c
parent79278bd8f65e58e41168575713ae182d9051d0a3 (diff)
downloadcpython-f1913ca37f65190cc6f48d9a9404453a131c124a.zip
cpython-f1913ca37f65190cc6f48d9a9404453a131c124a.tar.gz
cpython-f1913ca37f65190cc6f48d9a9404453a131c124a.tar.bz2
marshal: optimize parsing of empty Unicode strings
Don't create a temporary buffer of zeroy byte nor call r_string() if the length is zero, create directly the empty string.
Diffstat (limited to 'Objects/abstract.c')
0 files changed, 0 insertions, 0 deletions