3 ms·
Reference counting is GC. There are no pauses, but incrementing and decrementing a counter on every touch isn’t free either.
by pkulak 5y ago
Reference counting is GC. There are no pauses, but incrementing and decrementing a counter on every touch isn’t free either.
- ygra 5y agoWell, the pauses are somewhat predictable in that they may appear when the count of an object reaches zero. I had a very expensive closing brace in (admittedly not well-written) C++ code once.