Fast dictionary with integer keys?
Fast dictionary with integer keys?
- Subject: Fast dictionary with integer keys?
- From: Oleg Krupnov <email@hidden>
- Date: Sun, 15 Mar 2009 20:33:52 +0200
I need to use a dictionary inside a long, time-consuming operation.
The keys of the dictionary are integers, the values are NSObjects.
I could use NSDictionary, but I don't like the overhead of creating
NSNumbers for the keys and then comparing them, where I could use
integers directly more efficiently, both by time and memory.
The question is: is there this kind of fast int-keyed dictionary in
Cocoa or elsewhere? Thanks!
_______________________________________________
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