Skip to content

Array hashing is in Ruby 1.8 mode #2437

@kml

Description

@kml

Different arrays, are hashing very similarly

>> [].hash
=> 0
>> [2].hash
=> 0

MRI's behaviour is different:

>> [].hash
=> 3252255281033687896
>> [2].hash
=> 3208161167426848866

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions