brucehsu / GobiesVM

A Ruby VM written in Go aims to exploit parallelism via Software Transactional Memory
MIT License
184 stars 8 forks source link

[RHash] Use RObject as key #10

Open brucehsu opened 10 years ago

brucehsu commented 10 years ago

Current implementation simply uses a internal golang map map[RValue]*RObject as a shortcut. However, the correct way of hash key-finding is to validate RObjects equality.