]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-149079: Optimize sorting in unicodedata.normalize() (GH-150782)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 15 Jun 2026 14:36:50 +0000 (17:36 +0300)
committerGitHub <noreply@github.com>
Mon, 15 Jun 2026 14:36:50 +0000 (16:36 +0200)
commit90748760d38ca3ac5fc6788a69becab905c95598
tree25a8894247319301d8d131d89e9aa7e8cf5faa38
parent35ce2e5f98c04cb8d1e442de5439d3151362e21b
gh-149079: Optimize sorting in unicodedata.normalize() (GH-150782)

Sort the Py_UCS4 buffer instead of PyUnicodeObject. This allows to avoid
the use of PyUnicode_READ() and PyUnicode_WRITE().
Modules/unicodedata.c