diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-04-06 19:41:39 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-04-06 19:41:39 (GMT) |
commit | 259272b7a0edaf06b1a70379e74907ae4166c67e (patch) | |
tree | af8bfbcddb9f6db9453b3aafb6f42488959afb7f /Modules/sre.h | |
parent | f394df47fd943d7067b5c3bedbf2c359d864923c (diff) | |
download | cpython-259272b7a0edaf06b1a70379e74907ae4166c67e.zip cpython-259272b7a0edaf06b1a70379e74907ae4166c67e.tar.gz cpython-259272b7a0edaf06b1a70379e74907ae4166c67e.tar.bz2 |
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.
Diffstat (limited to 'Modules/sre.h')
0 files changed, 0 insertions, 0 deletions