help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Bug in STSymTable.st


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Bug in STSymTable.st
Date: Thu, 14 Apr 2011 18:55:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]