commit | b85a8b7bc79179c97ad1e7f876f885166f855cc8 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Oct 16 17:00:48 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Oct 16 17:00:48 2001 +0000 |
tree | 079f870efcd0a69c40daee658154a978d8b7fbb0 | |
parent | 26633f4c00d64eca243c3893b8ec106cfba46a71 [diff] |
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().