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

Re: Updating NSTableView


  • Subject: Re: Updating NSTableView
  • From: Scott Ribe <email@hidden>
  • Date: Thu, 14 May 2009 08:41:48 -0600
  • Thread-topic: Updating NSTableView

> [ Intrigued ] ... that being?

First a fast way to read the data off disk to begin with, for start up time.
Then caching of row heights when they are calculated. Finally binary search
of row heights/positions when mapping coordinates to row indexes.

Of course depending on what calculations are truly necessary, the first draw
may still be slow, but there's really no reason a redraw should be slow
after changing one (or a few) values.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Updating NSTableView
      • From: "I. Savant" <email@hidden>
References: 
 >Re: Updating NSTableView (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Updating NSTableView
  • Next by Date: Re: singletons and autoreleased objects (Karan, Cem (Civ, ARL/CISD))
  • Previous by thread: Re: Updating NSTableView
  • Next by thread: Re: Updating NSTableView
  • Index(es):
    • Date
    • Thread