Re: semantics of init
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.