• 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: I can't figure out how to use NSIndexSet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I can't figure out how to use NSIndexSet


  • Subject: Re: I can't figure out how to use NSIndexSet
  • From: Scott Anguish <email@hidden>
  • Date: Fri, 21 Nov 2003 01:53:33 -0500

On Nov 20, 2003, at 6:49 PM, Bill Cheeseman wrote:

on 2003-11-20 4:37 PM, Scott Anguish at email@hidden wrote:

while (currentIndex = != NSNotFound) {

I'll have to break out my Kernighan & Ritchie on that syntax! :-)


Mail was able to compile that just fine.. huh.. :-)

Seriously, how does this fit into what I was doing, as described in my post
just now? Do your very Cocoa-like iteration skeletons automatically handle
all the very C-like buffer declarations and calls to
getIndexes:maxCount:inIndexRange: in my code?

Or do your iteration skeletons assume some user setup that you didn't
describe?

No, that should be complete.

Is my code all wet, or is it a good way to approach speed optimization for
large index sets?

I don't think it's all wet. I'm not sure how much of a speed optimization you'll get though.
_______________________________________________
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.
References: 
 >Re: I can't figure out how to use NSIndexSet (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: [OT] Re: Don't leak memory!!
  • Next by Date: Re: NSNumber pointerValue
  • Previous by thread: Re: I can't figure out how to use NSIndexSet
  • Next by thread: Re: I can't figure out how to use NSIndexSet
  • Index(es):
    • Date
    • Thread