Re: Searching Files on MacOS X
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.