• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: semantics of init
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: semantics of init


  • Subject: Re: semantics of init
  • From: Wade Tregaskis <email@hidden>
  • Date: Thu, 5 Jun 2003 01:12:58 +1000

I don't buy the argument that the use of setter methods in -init would substantially degrade performance.
This smells like premature optimization to me.

It's not premature optimisation, it's simply a lack of de-optimisation. No point wasting time with (what I would argue are rather substantial) messaging overheads when you can just assign the value directly.

Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: semantics of init (From: Daniel Zitter <email@hidden>)

  • Prev by Date: Re: semantics of init
  • Next by Date: Re: Instantiating NSCells in Interface Builder
  • Previous by thread: Re: semantics of init
  • Next by thread: Re: semantics of init
  • Index(es):
    • Date
    • Thread