Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!oitnews.harvard.edu!news.dfci.harvard.edu!camelot.ccs.neu.edu!chaos.dac.neu.edu!usenet.eel.ufl.edu!spool.mu.edu!torn!nott!cunews!tina.mrco.carleton.ca!knight
From: knight@mrco.carleton.ca (Alan Knight)
Subject: Re: [VW 2.0] Identity with Large Positive Integers
X-Nntp-Posting-Host: tina.mrco.carleton.ca
Message-ID: <knight.813014663@tina.mrco.carleton.ca>
Sender: news@cunews.carleton.ca (News Administrator)
Reply-To: knight@mrco.carleton.ca (Alan Knight)
Organization: The Object People
References: <451egg$cbc@ams.amsinc.com>
Date: Fri, 6 Oct 1995 21:24:23 GMT
Lines: 14

In <451egg$cbc@ams.amsinc.com> Joel Nylund <joel_nylund@mail.amsinc.com> writes:

>I've noticed that the findKeyOrNil: method in the IdentityDictionary
class does not >work with large positive integers.

Yes it does. If two LargePostiiveIntegers are identical, they will be
found. The problem is that they're not guaranteed to be identical. Use
a regular dictionary.

-- 
 Alan Knight                | The Object People
 knight@acm.org             | Smalltalk and OO Training and Consulting
 alan_knight@mindlink.bc.ca | 509-885 Meadowlands Dr.
 +1 613 225 8812            | Ottawa, Canada, K2C 3N2
