[New-bugs-announce] [issue39150] See if PyToken_OneChar would be faster as a lookup table

Andy Lester report at bugs.python.org
Sat Dec 28 20:45:21 EST 2019


New submission from Andy Lester <andy at petdance.com>:

PyToken_OneChar in Parser/token.c is autogenerated.  I suspect it may be faster and smaller if it were a lookup into a static table of ops rather than a switch statement.  Check to see if it is.

----------
components: Interpreter Core
messages: 358975
nosy: petdance
priority: normal
severity: normal
status: open
title: See if PyToken_OneChar would be faster as a lookup table
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39150>
_______________________________________


More information about the New-bugs-announce mailing list