• 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
..
RPM Loading commit data...
TextMate/Python-Dev.tmbundle Loading commit data...
Vim Loading commit data...
ACKS Loading commit data...
AIX-NOTES Loading commit data...
HISTORY Loading commit data...
NEWS Loading commit data...
NEWS.help Loading commit data...
PURIFY.README Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.OpenBSD Loading commit data...
README.coverity Loading commit data...
README.klocwork Loading commit data...
README.valgrind Loading commit data...
RFD Loading commit data...
SpecialBuilds.txt Loading commit data...
build.sh Loading commit data...
cheatsheet Loading commit data...
developers.txt Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
maintainers.rst Loading commit data...
pymemcompat.h Loading commit data...
python-config.in Loading commit data...
python-mode.el Loading commit data...
python-wing.wpr Loading commit data...
python.man Loading commit data...
python.pc.in Loading commit data...
setuid-prog.c Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...