• 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: Making NSBrowser more efficient
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making NSBrowser more efficient


  • Subject: Re: Making NSBrowser more efficient
  • From: Jeremy Dronfield <email@hidden>
  • Date: Fri, 12 Nov 2004 21:07:25 +0000


On 12 Nov 2004, at 8:49 pm, M. Uli Kusterer wrote:

At 18:53 Uhr +0000 12.11.2004, Jeremy Dronfield wrote:
I'm using an NSBrowser for file system browsing. The implementation is essentially just the Simple Browser example code. The problem is its slooooowwwwness. When selecting a directory with more than a couple of hundred files in, display slowness becomes painful OMM - far, far slower than the Finder's column view (which is the obvious benchmark).

In my app the main bottleneck was NSDirectoryEnumerator. I wrote a UKDirectoryEnumerator that's noticeably faster than NSDirectoryEnumerator (mine uses Carbon HFS calls under the hood). Gimme a few more hours to post a new version that can be used as a drop-in-replacement for NSDirectoryEnumerator. The one that's currently up at


	http://www.zathras.de/programming/sourcecode.htm

returns absolute pathnames from nextObject, and doesn't return file labels.

Thanks - that sounds interesting. I'll check it out when you get it posted.


Regards,
Jeremy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Making NSBrowser more efficient (From: Jeremy Dronfield <email@hidden>)
 >Re: Making NSBrowser more efficient (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Re: Making NSBrowser more efficient
  • Next by Date: Re: Changing the position of a NSStatusItem
  • Previous by thread: Re: Making NSBrowser more efficient
  • Next by thread: Scrollbar redraw problem
  • Index(es):
    • Date
    • Thread