On 1 Aug 2013, at 07:48, Eric Wasylishen <[email protected]> wrote:

> My current idea is to use a combination of an NSMutableArray, and a 
> NSMapTable configured to map objects to integers. The idea is that the array 
> maps the object's index to the object, and the map table maps objects to 
> their index.

Doesn't NSMapTable copy its keys?  It seems that a cleaner idea would be to 
have an NSOrderedSet wrap an NSMutableSet and an NSPointerArray storing 
unordered pointers.  

David

-- Sent from my Cray X1


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to