Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Draft Proposal for Namespaces in Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draft Proposal for Namespaces in Objective-C



On Apr 15, 2012, at 3:38 AM, Jonathan Schleifer <email@hidden> wrote:

> Am 13.04.2012 um 23:11 schrieb Preston Sumner:
>
>> Respectfully, this is brazen, especially without benchmarks. More effective to critique with known data rather than authoritative speculation.
>
>
> Why do you think that? You can analyze algorithms without implementing them and can do assertions about their performance. A bad algorithm can never perform well, no matter how well the implementation is. I suggest you read a book about data structures and algorithms, they explain analysis of algorithms.
>
> The case with objc_msgSend is even more critical, as even with a good algorithm, every single cycle counts. For every message you send, objc_msgSend is called. Every single instruction more is one instruction too much.

You haven't offered a complexity analysis either.  Kyle has already indicated that in the vastly common case, objc_msgSend performance will not be impacted at all as the exact same code would run that runs today.

Mike
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Objc-language mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jonathan Schleifer <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jens Ayton <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Uli Kusterer <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Ian Joyner <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Michael Ash <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Ian Joyner <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Kyle Sluder <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Remy Demarest <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Ken Case <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Ken Case <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jayson Adams <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jonathan Schleifer <email@hidden>)
 >Re: Draft Proposal for Namespaces in Objective-C (From: Jonathan Schleifer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.