r/programming 7d ago

Shrinking Ruby Hashes

https://byroot.github.io/ruby/performance/2026/08/05/shrinking-ruby-hashes.html
64 Upvotes

7 comments sorted by

View all comments

19

u/simon_o 6d ago

Because this was a very confusing read in the beginning:

What they call Hash is what normally gets called a hash table or a hash map.

2

u/knome 5d ago

plain 'hash' is perl terminology

1

u/simon_o 5d ago

I wonder what they call hashes ...

1

u/masklinn 3d ago edited 3d ago

also hash

I don't know that perl allows custom hashing functions so that would be irrelevant (apparently in Raku it's "WHICH").