Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Py_STATS
1 parent ec02db5 commit e93c30dCopy full SHA for e93c30d
1 file changed
Python/gc.c
@@ -1331,15 +1331,6 @@ gc_collect_young(PyThreadState *tstate,
1331
PyGC_Head *visited = &gcstate->old[gcstate->visited_space].head;
1332
untrack_tuples(young);
1333
GC_STAT_ADD(0, collections, 1);
1334
-#ifdef Py_STATS
1335
- {
1336
- Py_ssize_t count = 0;
1337
- PyGC_Head *gc;
1338
- for (gc = GC_NEXT(young); gc != young; gc = GC_NEXT(gc)) {
1339
- count++;
1340
- }
1341
1342
-#endif
1343
1344
PyGC_Head survivors;
1345
gc_list_init(&survivors);
0 commit comments