On Sun, Mar 15, 2009 at 6:45 PM, Tommy Nordgren <[email protected]> wrote: > > On Mar 16, 2009, at 1:35 AM, Joseph Kelly wrote: > >> >> On Mar 15, 2009, at 12:18 PM, Tommy Nordgren wrote: >> >>> You can write your implementation file in Objective C++ , and use >>> std::map<int,id> >>> >> > You can also use std::hashmap<int,id> . It uses a hash table instead > of a balanced binary tree. > This is however dependent of a good hash function.
If your keys are integers, then you've got the best hash function possible: the identity function :) -- Clark S. Cox III [email protected] _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
