[New-bugs-announce] [issue46881] Statically allocate and initialize the latin1 characters.
Kumar Aditya
report at bugs.python.org
Mon Feb 28 08:02:28 EST 2022
New submission from Kumar Aditya <rahuladitya303 at gmail.com>:
Statically allocate and initialize the latin1 characters. This *should* make iterating over a ascii strings faster as it avoids an atomic read in PyInterpreterState_GET() to get unicode state in get_latin1_char, makes get_latin1_char branchless and can be used in deepfreeze for identifiers.
----------
components: Interpreter Core
messages: 414195
nosy: Mark.Shannon, eric.snow, gvanrossum, kumaraditya303
priority: normal
severity: normal
status: open
title: Statically allocate and initialize the latin1 characters.
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46881>
_______________________________________
More information about the New-bugs-announce
mailing list