Re: Turning off the garbage collector for Xcode 3.0
Re: Turning off the garbage collector for Xcode 3.0
- Subject: Re: Turning off the garbage collector for Xcode 3.0
- From: Steve Checkoway <email@hidden>
- Date: Tue, 5 Aug 2008 21:40:01 -0700
On Aug 5, 2008, at 8:18 PM, Bill Bumgarner wrote:
On Aug 5, 2008, at 7:36 PM, Steve Checkoway wrote:
This is not true. The garbage collector must figure out which
objects can be collected. This is not work that would have to be
done without a garbage collector.
In non-GC, explicit retain/autorelease/release calls have to be
made that are not needed in GC. Only the actual returning of the
memory to the system is the same both with and without GC.
That said, it sounds like GC is not the OP's issue at all.
[Good stuff snipped]
So, no, simply stating that "GC does more work" or "non-GC is
faster". The reality is much more complex; there are advantages to
both schemes, but GC is far more likely to reap benefits of multi-
core systems and Apple's optimizations therein than non-GC.
I don't think I said that at all. My point was merely that one cannot
say that all of the same work happens for both. I gave two examples
where they differed--one where GC did work non-GC didn't do and vice
versa--you gave quite a few more.
I intentionally didn't make any claims as to which was faster.
--
Steve Checkoway
"Anyone who says that the solution is to educate the users
hasn't ever met an actual user." -- Bruce Schneier
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden