3 ms·
Reference counting is a form of garbage collection.
by chrisseaton 7y ago
Reference counting is a form of garbage collection.
- kbutler 7y agoSure, if you want to be pedantic, but the context was limited memory use, and ref counting does not increase the memory used for unreferenced objects (except in cycles) unlike most other garbage collection algorithms.