3 ms·
Would it be possible to use this in an iPhone app? I.e. extending NSObject's retain / release and having a NSGarbageCollector like thread run around and collect
by terhechte 15y ago
Would it be possible to use this in an iPhone app? I.e. extending NSObject's retain / release and having a NSGarbageCollector like thread run around and collect.
- chc 15y agoBolting on garbage collection to system libraries that weren't made with it in mind probably wouldn't work well. Even in OS X, when the system had been designed for garbage collection and extensively tested, it still didn't work right (memory leaks, extreme slowness at times) in the first version.