Hi Stephan, it is a hash code and is not guaranteed to be unique, not even per context. As usual when using hash functions there can be collisions and you have to check the objects for equality to see if you actually have a match.
Cheers, -- Mads On Mon, Jun 27, 2011 at 4:05 AM, Stephan Beal <[email protected]> wrote: > Hi, gurus, > > Is there a way to get a unique identifier for an Object? i see > GetIdentityHash() but it says "Also, it is not guaranteed to be unique," so > i can't quite figure out what use it would be. Is it "not unique" in the > global sense or is it really not guaranteed to be unique within a given > context? > > -- > ----- stephan beal > http://wanderinghorse.net/home/stephan/ > > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
