You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
When #hash is sent to a 1 character length string it gives always 0.
For example:
'd' hash!
0
'r' hash!
0
What version of the product are you using? On what operating system?
0.1.7 - Linux
Please provide any additional information below.
#= is defined as comparing hash values of two objects. But according to the
above result
'd' = 'r'!
should return "true" which would be a wrong output. But Syx interpreter
truly returns "false". Something seems wrong.
Original issue reported on code.google.com by canol.go...@gmail.com on 15 Jul 2008 at 4:16
The text was updated successfully, but these errors were encountered:
It's a problem of the hashing method.
For the #=: if two objects represent the same component, they MUST have the
same
hash. If they have the same hash they CAN represent different component. The
hash
unfortunately is not univoque.
Original comment by lethalma...@gmail.com on 15 Jul 2008 at 4:56
Original issue reported on code.google.com by
canol.go...@gmail.com
on 15 Jul 2008 at 4:16The text was updated successfully, but these errors were encountered: