commit | 259272b7a0edaf06b1a70379e74907ae4166c67e | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Apr 06 19:41:39 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Apr 06 19:41:39 2003 +0000 |
tree | af8bfbcddb9f6db9453b3aafb6f42488959afb7f | |
parent | f394df47fd943d7067b5c3bedbf2c359d864923c [diff] |
handle_finalizers(): Rewrote to call append_objects() and gc_list_merge() instead of looping. Smaller and clearer. Faster, too, when we're not appending to gc.garbage: gc_list_merge() takes constant time, regardless of the lists' sizes. append_objects(): Moved up to live with the other list manipulation utilities.