• 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: MDItemCreate very, very, very, slow -- and fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MDItemCreate very, very, very, slow -- and fails


  • Subject: Re: MDItemCreate very, very, very, slow -- and fails
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 14 Feb 2006 17:09:46 -0800
  • Thread-topic: MDItemCreate very, very, very, slow -- and fails

On or about 2/14/06 4:29 PM, thus spake "Hamish Allan"
<email@hidden>:

> On Tue, 14 Feb 2006 10:23:17 -0800, Matt Neuburg <email@hidden>
> wrote:
>
>> On Tue, 14 Feb 2006 09:18:00 -0500, Doug Knowles
>> <email@hidden> said:
>>
>>> I'm using MDItemCreate to fetch the metadata for a bunch of files,
>>> and
>>> my calls to it are uniformly taking about 30 seconds to execute (as
>>> measured by logging as well as stepping over in the debugger) and, by
>>> the way, return nil as the result.
>>
>> Sounds like you're calling it wrong. m.
>
> I fear the problem runs deeper than that:
>
> http://www.cocoabuilder.com/archive/message/cocoa/2005/8/3/143432

I don't see any relationship between the two issues.

Hamish's issue explains why my NotLight app sometimes takes a long time to
populate the table showing the file paths (using kMDItemPath, which is the
troublesome key).

But the claim that a simple call to MDItemCreate will take 30 seconds all
other things being equal is demonstrably false. Something else would have to
be going on there. m.

--
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
AppleScript: the Definitive Guide -
http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt
Take Control of Word 2004, Tiger, and more -
http://www.takecontrolbooks.com/tiger-customizing.html
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/



 _______________________________________________
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: MDItemCreate very, very, very, slow -- and fails
      • From: Hamish Allan <email@hidden>
References: 
 >Re: MDItemCreate very, very, very, slow -- and fails (From: Hamish Allan <email@hidden>)

  • Prev by Date: plain white boxes/views
  • Next by Date: Re: MDItemCreate very, very, very, slow -- and fails
  • Previous by thread: Re: MDItemCreate very, very, very, slow -- and fails
  • Next by thread: Re: MDItemCreate very, very, very, slow -- and fails
  • Index(es):
    • Date
    • Thread