diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-05-02 01:15:40 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-05-02 01:15:40 +0200 |
commit | e6abb488c950f0f69999a30c72871cd289e8be2d (patch) | |
tree | e44f6604149d3a3e86e895ad15fb97a854e92373 /Python/Python-ast.c | |
parent | 438106b66ef4d65746ddecfee3441eb4e20e679b (diff) | |
download | cpython-git-e6abb488c950f0f69999a30c72871cd289e8be2d.tar.gz |
unicodeobject.c: Add MAX_MAXCHAR() macro to (micro-)optimize the computation
of the second argument of PyUnicode_New().
* Create also align_maxchar() function
* Optimize fix_decimal_and_space_to_ascii(): don't compute the maximum
character when ch <= 127 (it is ASCII)
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions