[squeak-dev] How to become immediate objects? :-)

Chris Muller asqueaker at gmail.com
Wed Apr 15 22:13:31 UTC 2020


>
> But the hash can't always be copied over, so it's a tough decision what
> the default should be:
> - if the hash is not copied by default, the lack of rehashing will cause
> elements to be not found in the affected collections

- if the hash is copied, runtime errors will be raised when coping the
> hash is not possible.
>

I think a "lack of rehashing" issue could also occur in the latter case,
too, if the target of the become (the argument) was in a identity hashed
collection..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200415/893cadce/attachment.html>


More information about the Squeak-dev mailing list