• 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: Mutually exclusive item filtering-comparing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mutually exclusive item filtering-comparing


  • Subject: Re: Mutually exclusive item filtering-comparing
  • From: Graham Cox <email@hidden>
  • Date: Wed, 06 Nov 2013 13:29:43 +0100

On 5 Nov 2013, at 7:17 pm, Chris Paveglio <email@hidden> wrote:

> What is the most efficient way to compare a list of mutually exclusive items?


This sounds like it could be a job for NS(Mutable)Set, where you can quickly form unions, intersections and exclusions of different sets. Presumably their internal implementation makes these operations fast and efficient, though you’d have to profile to be sure.

—Graham

_______________________________________________

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: 
 >Mutually exclusive item filtering-comparing (From: Chris Paveglio <email@hidden>)

  • Prev by Date: Re: SKIndexAddDocument crashing
  • Next by Date: Re: SKIndexAddDocument crashing
  • Previous by thread: Re: Mutually exclusive item filtering-comparing
  • Next by thread: Re: Mutually exclusive item filtering-comparing
  • Index(es):
    • Date
    • Thread