On Sun, Mar 15, 2009 at 6:45 PM, Tommy Nordgren <tommy.nordg...@comhem.se> 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 clarkc...@gmail.com _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com