NSBlog
"A failure in the hot air department"
Showing entries tagged "garbagecollection". Full blog index.
Friday Q&A 2010-07-16: Zeroing Weak References in Objective-C
at 2010-07-16 20:18
It's that time of the biweek again. For this week's Friday Q&A, Mike Shields has suggested that I talk about weak references in Objective-C, and specifically zeroing weak references. I've gone a bit further and actually implemented a class that provides zeroing weak references in Objective-C using manual memory management.
Perform Better With Garbage Collection
at 2007-11-21 04:44
The move to garbage collection in Cocoa has been interesting. People have said that it's impossible, or impractical, or a bad idea, or doomed to failure, and one of the most common things trotted out is that GC is inevitably slow. However, I think that enabling garbage collection in your Cocoa app could actually be a good way to increase performance under the right conditions.