commit | e6abb488c950f0f69999a30c72871cd289e8be2d | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Wed May 02 01:15:40 2012 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Wed May 02 01:15:40 2012 +0200 |
tree | e44f6604149d3a3e86e895ad15fb97a854e92373 | |
parent | 438106b66ef4d65746ddecfee3441eb4e20e679b [diff] |
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)