diff options
author | Guido van Rossum <guido@python.org> | 2002-08-09 02:14:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-08-09 02:14:34 (GMT) |
commit | 721f62e20059d36ae343993615aeecc1805b54fb (patch) | |
tree | 7cc0b6c758e9b9f631ba23bd7c7b36431dd42c80 /Lib/plat-aix3 | |
parent | c35491ee3a0f3999791de83e65ef94994058ac5e (diff) | |
download | cpython-721f62e20059d36ae343993615aeecc1805b54fb.zip cpython-721f62e20059d36ae343993615aeecc1805b54fb.tar.gz cpython-721f62e20059d36ae343993615aeecc1805b54fb.tar.bz2 |
Major speedup for new-style class creation. Turns out there was some
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).
Diffstat (limited to 'Lib/plat-aix3')
0 files changed, 0 insertions, 0 deletions