mikeash.com: just this guy, you know?

NSBlog
RSS feed (full text feed)

cocoa fridayqna garbagecollection(2) hack objectivec performance

Showing entries tagged "garbagecollection". Full blog index.

Tags: fridayqna objectivec garbagecollection hackIt'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.
(Read More) 41 comments

Perform Better With Garbage Collection at 2007-11-21 04:44
Tags: cocoa garbagecollection performanceThe 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.
(Read More) 6 comments