• Antoine Pitrou's avatar
    Issue #6690: Optimize the bytecode for expressions such as `x in {1, 2, 3}`, · b7fbcd39
    Antoine Pitrou yazdı
    where the right hand operand is a set of constants, by turning the set into
    a frozenset and pre-building it as a constant.  The comparison operation
    is made against the constant instead of building a new set each time it is
    executed (a similar optimization already existed which turned a list of
    constants into a pre-built tuple).  Patch and additional tests by Dave
    Malcolm.
    b7fbcd39
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...