diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2012-05-01 23:15:40 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2012-05-01 23:15:40 (GMT) |
commit | e6abb488c950f0f69999a30c72871cd289e8be2d (patch) | |
tree | e44f6604149d3a3e86e895ad15fb97a854e92373 /Doc | |
parent | 438106b66ef4d65746ddecfee3441eb4e20e679b (diff) | |
download | cpython-e6abb488c950f0f69999a30c72871cd289e8be2d.zip cpython-e6abb488c950f0f69999a30c72871cd289e8be2d.tar.gz cpython-e6abb488c950f0f69999a30c72871cd289e8be2d.tar.bz2 |
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 'Doc')
0 files changed, 0 insertions, 0 deletions