Re: accessor question
Re: accessor question
- Subject: Re: accessor question
- From: Scott Anguish <email@hidden>
- Date: Thu, 27 Feb 2003 17:19:43 -0500
On Thursday, February 27, 2003, at 04:33 PM, Jonathan E. Jackel wrote:
Second, it's no faster. It seems like it would be very slightly
slower.
You are merely delaying the [self recalculate], but when it happens it
will
take just as long. Plus, you are taking the time to set an extra
variable
and perform an extra conditional.
I think the point of putting it there is that it only does the recalc
when a value is asked for. If you never ask for it, it's never
calculated.
I think either way is probably potentially appropriate, depending on
the situation.
_______________________________________________
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.