Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Modules/gcmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ deduce_unreachable(PyGC_Head *base, PyGC_Head *unreachable) {
* NOTE: This used to move the reachable objects into a reachable
* set instead. But most things usually turn out to be reachable,
* so it's more efficient to move the unreachable things. See note
^ [REACHABLE OR UNREACHABLE?} at the file end.
^ [REACHABLE OR UNREACHABLE?] at the file end.
*/
gc_list_init(unreachable);
move_unreachable(base, unreachable); // gc_prev is pointer again
Expand Down Expand Up @@ -2188,7 +2188,7 @@ PyObject_GC_Del(void *op)
/* ------------------------------------------------------------------------
Notes

[REACHABLE OR UNREACHABLE?}
[REACHABLE OR UNREACHABLE?]

It "sounds slick" to move the unreachable objects, until you think about
it - the reason it pays isn't actually obvious.
Expand Down