Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4609

How is Hash in Ruby implemented internally? What data structure/algorithm Hash is using? [closed]

$
0
0

I know in Java language, HashMap is the most common used to implement functions like Ruby Hash. Java HashMap is using data structure named "separate chaining with linked lists": http://en.wikipedia.org/wiki/Hash_table

Where can I find the implementation of Ruby hash? What data structure and algorithm Ruby Hash are using?


Viewing all articles
Browse latest Browse all 4609

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>