Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
infogulch
· 8y ago · 0 comments
But couldn't the hash be based on the object pointer or something?
Comments
[–]
tzahola
8y ago
No, because the GC is free to move objects around to compact the heap.
[–]
phpnode
8y ago
No, for reasons others have said, but they can use the pointer to deal with collisions
[–]
sushibowl
8y ago
Doesn't work because the GC moves objects around in memory