help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] Bug in 1.95.13a and 1.96.5


From: Bonzini Paolo
Subject: Re: [Help-smalltalk] Bug in 1.95.13a and 1.96.5
Date: Tue, 7 May 2002 10:18:33 +0200 (METDST)

> I'm not very familiar with smalltalk, but why isn't it possible to overide 
> #rehash for SystemDictionary (to do nothing)?

I am not sure this is a good thing.  It's true that Smalltalk is never
serialized, so in theory it does not need any rehashing but given that
growing could be implemented in terms of rehashing (or vice versa, rehash
could be "self growBy: 0") I prefer to leave the functionality in.  And
anyway the bug is there, because if an object overrides #copy it risks
breaking rehashing.

Paolo




reply via email to

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