3 ms·
I would use the memory address, if the GC is a non-moving collector. With a good hash function it should be fine. However, given most GCs are moving, including
by eloff 9y ago
I would use the memory address, if the GC is a non-moving collector. With a good hash function it should be fine. However, given most GCs are moving, including V8s, I can see why they chose the implementation they did.