• 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: Searching Files on MacOS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching Files on MacOS X


  • Subject: Re: Searching Files on MacOS X
  • From: Michael Tsai <email@hidden>
  • Date: Mon, 18 Aug 2003 14:08:24 -0400

On Monday, August 18, 2003, at 01:30 PM, Lorenzo wrote:

do you know why the Finder performs a search much much faster than my Cocoa
application? For example, if I search for all the filenames ending with
".mov", the Finder finds all the 72 ".mov" files in my boot disk in 8
seconds. My application takes 2 minutes...!
I am using MacOS X 10.2.6 and basically iterate through the following array.
Please note that even if I used NSDirectoryEnumerator the speed is the same.

<http://developer.apple.com/documentation/Carbon/Reference/ File_Manager/file_manager/function_group_46.html>

--Michael
_______________________________________________
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: 
 >Searching Files on MacOS X (From: Lorenzo <email@hidden>)

  • Prev by Date: Re: [OT] Installation into home directory
  • Next by Date: Re: [OT] Installation into home directory
  • Previous by thread: Re: Searching Files on MacOS X
  • Next by thread: Re: Searching Files on MacOS X
  • Index(es):
    • Date
    • Thread