• Guido van Rossum's avatar
    Major speedup for new-style class creation. Turns out there was some · 721f62e2
    Guido van Rossum yazdı
    trampolining going on with the tp_new descriptor, where the inherited
    PyType_GenericNew was overwritten with the much slower slot_tp_new
    which would end up calling tp_new_wrapper which would eventually call
    PyType_GenericNew.  Add a special case for this to update_one_slot().
    
    XXX Hope there isn't a loophole in this.  I'll buy the first person to
    point out a bug in the reasoning a beer.
    
    Backport candidate (but I won't do it).
    721f62e2
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...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
PLAN.txt 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...
setup.py Loading commit data...