Slow Command in Snow Leopard
Slow Command in Snow Leopard
- Subject: Slow Command in Snow Leopard
- From: Luther Fuller <email@hidden>
- Date: Mon, 05 Apr 2010 14:38:46 -0500
About a month ago we had a discussion about
set itemsList to (files of prefsRef whose name starts with prefIdent) as alias list
being very slow. It struck again and I spent the weekend working around the problem in shareware that I just released. To make a long story short, these Finder commands ...
get files of sourceFolder set suffixNr to (count (files of destFolder whose name starts with newFileName)) exists (some document file of entire contents of sourceFolder whose modification date < cutoffTime)
will become very slow with folders containing 100s of files and if the folder contains 1000 or more files, the Finder becomes unresponsive and has to be force quit. Not good.
Surprisingly, exists file (...) of destFolder does not seem to have this problem. (Fortunately!)
I have now reported this in Bug # 7827935.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden