summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-16 17:00:48 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-16 17:00:48 (GMT)
commitb85a8b7bc79179c97ad1e7f876f885166f855cc8 (patch)
tree079f870efcd0a69c40daee658154a978d8b7fbb0 /Modules
parent26633f4c00d64eca243c3893b8ec106cfba46a71 (diff)
downloadcpython-b85a8b7bc79179c97ad1e7f876f885166f855cc8.zip
cpython-b85a8b7bc79179c97ad1e7f876f885166f855cc8.tar.gz
cpython-b85a8b7bc79179c97ad1e7f876f885166f855cc8.tar.bz2
Refactored the update_slot() code a bit to be hopefully slightly more
efficient: - recurse down subclasses only once rather than for each affected slot; - short-circuit recursing down subclasses when a subclass has its own definition of the name that caused the update_slot() calls in the first place; - inline collect_ptrs().
Diffstat (limited to 'Modules')
0 files changed, 0 insertions, 0 deletions