On 12/2/12, 21:25, js.mdnq wrote: > I'm not just comparing them but using them as a unique ID for the > objects in an algorithm to prevent computing over the same object more > than once. o.toHash() ?? (Which incidentally just casts the reference to a hash_t, exactly what you want to do.)