On 23/06/2013, at 12:56 PM, James Maxwell <jbmaxw...@rubato-music.com> wrote:

> I've thought creating my sparse arrays using NSHashTable (keyed by 
> NSIntegers) instead of NSPointerArray. Does this seem like a reasonable way 
> to speed things up?


Don't guess: measure.

If you can show that your iterators are the culprit, then using a hash instead 
might be a solution, but you won't know until you can pinpoint what the actual 
problem is.

--Graham



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to