• 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: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 12 Nov 2004 21:49:29 +0100

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.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
       "The Witnesses of TeachText are everywhere..."
                   http://www.zathras.de
_______________________________________________
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


  • Follow-Ups:
    • Re: Making NSBrowser more efficient
      • From: Jeremy Dronfield <email@hidden>
    • Re: Making NSBrowser more efficient
      • From: Chris Parker <email@hidden>
References: 
 >Making NSBrowser more efficient (From: Jeremy Dronfield <email@hidden>)

  • Prev by Date: Re: Get the window at a certain point
  • Next by Date: app crashes here: [NSIBObjectData nibInstantiateWithOwner:topLevelObjects:]
  • Previous by thread: Re: Making NSBrowser more efficient
  • Next by thread: Re: Making NSBrowser more efficient
  • Index(es):
    • Date
    • Thread