• 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: accessor question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >RE: accessor question (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: RE: accessor question
  • Next by Date: RE: Help with Project Builder
  • Previous by thread: RE: accessor question
  • Next by thread: RE: accessor question
  • Index(es):
    • Date
    • Thread