diff options
author | Guido van Rossum <guido@python.org> | 2001-10-16 17:00:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-16 17:00:48 (GMT) |
commit | b85a8b7bc79179c97ad1e7f876f885166f855cc8 (patch) | |
tree | 079f870efcd0a69c40daee658154a978d8b7fbb0 /Modules | |
parent | 26633f4c00d64eca243c3893b8ec106cfba46a71 (diff) | |
download | cpython-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