Quantcast
Channel: Hash/Set-related behavior mismatch between Ruby MRI 3.0.0 and 3.0.1
Browsing latest articles
Browse All 4 View Live

Hash/Set-related behavior mismatch between Ruby MRI 3.0.0 and 3.0.1

Consider the following code: raise unless RUBY_VERSION == "3.0.0" || RUBY_VERSION == "3.0.1" require "set" class Locale attr_reader :code def initialize(code:) @code = code end def eql?(other)...

View Article



Hash/Set-related behavior mismatch between Ruby MRI 3.0.0 and 3.0.1

Hi Yaroslav, The behavior you’re seeing is likely related to changes in the hash collision handling between the two versions. In Ruby 3.0.0, the hash function can lead to collisions between a symbol...

View Article

Hash/Set-related behavior mismatch between Ruby MRI 3.0.0 and 3.0.1

Hi Robert! Would you be so kind to point to me the exact commit that implemented these changes? I’m curious because I’ve looked every of them between 3.0.0 and 3.0.1 and found nothing. Read full topic

View Article

Hash/Set-related behavior mismatch between Ruby MRI 3.0.0 and 3.0.1

nevermind, just figured out that’s a bot Read full topic

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images