[issue45907] Optimize literal comparisons and contains

theeshallnotknowethme report at bugs.python.org
Sat Nov 27 08:34:03 EST 2021


theeshallnotknowethme <nohackingofkrowten at gmail.com> added the comment:

List and sets as right operands in literal contains are optimized to constant tuples and frozensets, and I'd like to take this optimization a step further.

----------

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


More information about the Python-bugs-list mailing list