• 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
name == "$FETCH_SOURCE.name" -- Doesn't find dupes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

name == "$FETCH_SOURCE.name" -- Doesn't find dupes?


  • Subject: name == "$FETCH_SOURCE.name" -- Doesn't find dupes?
  • From: Jerry Krinock <email@hidden>
  • Date: Sat, 7 Feb 2009 20:16:03 -0800

Thanks, mmalc. That little sheet looked so simple it didn't occur to me that there would be a whole chapter of documentation on it, including what I needed...

   "Control-click ^empty^space^ in the line of the criteria".

Now that's what I call a hidden feature!

I'm that if I file a bug asking the Xcode folks to add a button or something to un-hide this feature, it would be marked as a Duplicate, but if anyone thinks I should file a bug, I shall.

*****

Speaking of duplicates ... As I expected when I saw the word "fetch", the method of finding duplicates which I described in my original post, using a fetched property, is quite slow.

I reckon that finding all duplicates in a set of N objects requires N*(N-1)/2 comparisons. I tried this on a test data set I have of 1200 objects containing just a few actual duplicates. Doing it in code took 750 milliseconds. Asking for the 'dupes' fetched property as described in my original post, for each object, took 100 times longer, 75 seconds.
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >name == "$FETCH_SOURCE.name" -- Doesn't find dupes? (From: Jerry Krinock <email@hidden>)
 >Re: name == "$FETCH_SOURCE.name" -- Doesn't find dupes? (From: Kyle Sluder <email@hidden>)
 >Re: name == "$FETCH_SOURCE.name" -- Doesn't find dupes? (From: Jerry Krinock <email@hidden>)
 >Re: name == "$FETCH_SOURCE.name" -- Doesn't find dupes? (From: mmalc Crawford <email@hidden>)

  • Prev by Date: Re: Cocoa Event Monitor?
  • Next by Date: Re: Running out of memory when adding CGImageRef-to-NSImage frames to QTMovie in NSOperation subclass
  • Previous by thread: Re: name == "$FETCH_SOURCE.name" -- Doesn't find dupes?
  • Next by thread: re: name == "$FETCH_SOURCE.name" -- Doesn't find dupes?
  • Index(es):
    • Date
    • Thread