Re:The Future's Pretty Cool, or Why I Love Ruby
by gcv on Wednesday April 28, 2010 @12:40PM
(#1301960)
As I noted, 1.8.7 produces a hash collision for [2, 3] and [4, 5]. 1.9.1-p376 has exactly the same behavior. I reiterate: the Hash object is unreliable, regardless of the runtime version. Based on such nasty behavior in such a simple case, I distrust Ruby's runtime and standard library for more complicated uses.
[ Parent
| on HN ]
Re:The Future's Pretty Cool, or Why I Love Ruby
by steveklabnik on Wednesday April 28, 2010 @12:44PM
(#1301969)
Gotcha. I misread that part. My bad. I don't use sets, so I've never encountered this.