[New-bugs-announce] [issue45907] Optimize literal comparisons and contains

theeshallnotknowethme report at bugs.python.org
Fri Nov 26 18:59:07 EST 2021


New submission from theeshallnotknowethme <nohackingofkrowten at gmail.com>:

Most operations with literals are optimized as well, so why shouldn't the comparison/contain operators be? I created a new bug report for it because of this fact and the TODO in the `fold_compare` function in `Python/ast_opt.c`.

----------
components: Interpreter Core
messages: 407114
nosy: February291948
priority: normal
severity: normal
status: open
title: Optimize literal comparisons and contains
type: performance
versions: Python 3.11

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


More information about the New-bugs-announce mailing list