|
|
|
|
|
by necubi
2021 days ago
|
|
"Finding cycles" is not really the problem a GC is trying to solve. It's trying to find all of the non-reachable data, across a possibly cyclic graph. It just has to ensure that it doesn't loop infinitely while traversing that graph. |
|
Still, fun algorithm.