On 04/14/2011 04:28 PM, Gwenael Casaccio wrote:
Hi Paolo,

Should solve a problem with floats like NaN:

77c77
< map := Dictionary new: aSize.
---
 > map := IdentityDictionary new: aSize.

Not optimal because equal literals should be mapped to the same object. Perhaps we need a LiteralDictionary testing on a different kind of equality (#= for everything except Floats where it would test the binary representation).

Paolo

_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to