[issue37752] Redundant Py_CHARMASK called in normalizestring(codecs.c)
Jordon.X
report at bugs.python.org
Sat Aug 3 08:10:17 EDT 2019
New submission from Jordon.X <9651234 at qq.com>:
In normalizestring(),
ch = Py_TOLOWER(Py_CHARMASK(ch));
Where Py_TOLOWER is defined as following,
#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
Redundant Py_CHARMASK called here.
----------
components: Unicode
messages: 348955
nosy: ezio.melotti, qigangxu, vstinner
priority: normal
severity: normal
status: open
title: Redundant Py_CHARMASK called in normalizestring(codecs.c)
type: performance
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37752>
_______________________________________
More information about the Python-bugs-list
mailing list