Re: I can't figure out how to use NSIndexSet
Re: I can't figure out how to use NSIndexSet
- Subject: Re: I can't figure out how to use NSIndexSet
- From: John Clayton <email@hidden>
- Date: Fri, 21 Nov 2003 08:50:49 -0500
Thanks everyone. I got both ways working, and since the number of
selected items is small in my app, noticed no difference in the two in
terms of performance. To be expected I guess with such small numbers,
3, 4, maybe 10;
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! :-)
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?
Is my code all wet, or is it a good way to approach speed optimization
for
large index sets?
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.
_______________________________________________
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.