4 ms·
Many garbage collectors (e.g. CPython’s) will use reference counting as part of the process. If a reference count hits zero, the object can be destructed, prol
by MereInterest 3y ago
Many garbage collectors (e.g. CPython’s) will use reference counting as part of the process. If a reference count hits zero, the object can be destructed, prolonging the time between mark-and-sweep passes.
The performance difference, though, is mainly in switching over to a compiled language in the first place.