Login
From:
Robert Mosolgo
(Uncensored)
subscribe
Hash#key? vs Hash#[]
https://rmosolgo.github.io/ruby/2016/10/24/hash-key-vs-hash-get.html
links
backlinks
Roast topics
Find topics
Find it!
I read thatHash#key? was slower than Hash#[] and it made me sad because, shouldn’t Hash#key? generally require less work? Besides that, there are cases where only