• 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: Need faster approach to load data in NSTableView from a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need faster approach to load data in NSTableView from a file


  • Subject: Re: Need faster approach to load data in NSTableView from a file
  • From: Keary Suska <email@hidden>
  • Date: Fri, 26 Oct 2012 14:35:29 -0600

Also, using a datasource instead of bindings I find to be much more performant, especially with particularly large data sets. KVO is surprisingly (or not so surprisingly) heavy. But as Mike pointed out, some basic profiling will tell you why you are experiencing the slowness...

On Oct 26, 2012, at 7:53 AM, Mike Abdullah wrote:

> What have you tried?
>
> You have a performance problem. The very first thing that should ever be done if you have a performance problem is head over to Instruments and find out what is slow and why.
>
> And please don't crosspost between lists.
>
> On 26 Oct 2012, at 12:17, Abhijeet Singh <email@hidden> wrote:
>
>> Hi,In my application I am reading data from a text file and displaying it in NSTableView. There are 6 columns in my tableview. My problem is when the records in file are more it takes too long to read and display the data. e.g. It takes around 1 min to read and display 70,000 records from the file. I am using NSArrayController to update my NSTableView. Please suggest some solution to make my application faster. Should I read and display only that much data that is visible to the user (like in iphone but i dont know how is it done OSX?) and update my view on scrolling?Thanks & Regards AbhijeetGet Yourself a cool, short @in.com Email ID now!
>> _______________________________________________
>>
>> 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
>
>
> _______________________________________________
>
> 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


Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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

References: 
 >Need faster approach to load data in NSTableView from a file (From: Abhijeet Singh <email@hidden>)
 >Re: Need faster approach to load data in NSTableView from a file (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Keyboard shortcut for menu item with submenu?
  • Next by Date: Re: App rejection due to app-sandboxing invalid entitlement
  • Previous by thread: Re: Need faster approach to load data in NSTableView from a file
  • Next by thread: Binding alignment property of NSTextField
  • Index(es):
    • Date
    • Thread