Re: Performance problem with GC enabled
Re: Performance problem with GC enabled
- Subject: Re: Performance problem with GC enabled
- From: "Paul Sanders" <email@hidden>
- Date: Sat, 14 Mar 2009 16:53:16 -0000
>> Well, that's patently untrue. It can just return a temporary object with
>> a
>> retain count of 1.
> No, it can't. I specified a Get function, where convention specifies
> that the caller does not own it. Even if Apple were willing to break
> with convention, such a change would cause every existing client of
> the API to start leaking.
Ah, right, sorry. I'm not saying the existing API would permit such a
change, more's the pity. All I'm saying (and I doubt that saying this has
any value) is that it could, and in my opinion should, have been done that
way in the first place.
Forgive me for cluttering up the mailing list with what is basically just a
bit of a rant. Subject closed as far as I am concerned. Your page of
objective C benchmarks is very handy by the way.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden