]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Speedup find_maxchar_surrogates() for 32-bit wchar_t
authorVictor Stinner <vstinner@wyplay.com>
Wed, 5 Oct 2011 12:02:44 +0000 (14:02 +0200)
committerVictor Stinner <vstinner@wyplay.com>
Wed, 5 Oct 2011 12:02:44 +0000 (14:02 +0200)
commitae86485517cab27d6cef96d036e870888660a144
treebc06294d70c4cd4c4a56d678f269b9f6a3144fad
parentb9275c104e50361fe3a785126e5ecad24d319a7a
Speedup find_maxchar_surrogates() for 32-bit wchar_t

If we have at least one character in U+10000-U+10FFFF, we know that we must use
PyUnicode_4BYTE_KIND kind.
Objects/unicodeobject.c