diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-01 00:47:29 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-01 00:47:29 (GMT) |
commit | 67ca64ce54012d1e322cb275cee55704cf73d46d (patch) | |
tree | 3d833e04fcc96a187819eefdf95c89b3bbc72bd4 /Python/ceval.c | |
parent | 4584a5ba1ab223d273b1678ba6ec3a2781a824f7 (diff) | |
download | cpython-67ca64ce54012d1e322cb275cee55704cf73d46d.zip cpython-67ca64ce54012d1e322cb275cee55704cf73d46d.tar.gz cpython-67ca64ce54012d1e322cb275cee55704cf73d46d.tar.bz2 |
I want a super fast 'a' * n!
* Optimize unicode_repeat() for a special case with memset()
* Simplify integer overflow checking; remove the second check because
PyUnicode_New() already does it and uses a smaller limit (Py_ssize_t vs
size_t)
Diffstat (limited to 'Python/ceval.c')
0 files changed, 0 insertions, 0 deletions