2 ms·
Pervasive RC is the most costly GC. But it is fine where not pervasive, and even some places where it is. RC is about the last thing you would worry about slowi
by ncmncm 5y ago
Pervasive RC is the most costly GC.
But it is fine where not pervasive, and even some places where it is. RC is about the last thing you would worry about slowing down your Python program.
I RC'd a thing in a program, five years back. The program had a linked list in it. Increments and decrements happened on a scale of minutes. I did not agonize over it.
- kragen 5y agoI mostly agree, except that I do think reference counting is a significant part of CPython's runtime slowness. Maybe 10%.