[squeak-dev] Updating a 5.3-19335 image fails on Pi

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sat May 9 20:14:45 UTC 2020


Le sam. 9 mai 2020 à 21:57, tim Rowledge <tim at rowledge.org> a écrit :

>
>
> > On 2020-05-09, at 12:31 PM, tim Rowledge <tim at rowledge.org> wrote:
> >
> > The Parser>>#pattern:inContext: code clearly sends asSymbol to the
> string it extracts, which in turn leads us to #like: in WeakSet, which of
> course relies on hash values and we have had a little fun with those and
> 32/64 bit stuff.
>
> Hmm, the hashing of  the string is done in the MiscPrimitivePlugin; didn't
> we have some fun with that too, recently? Similarly the string collation to
> match the string with the content of the symbol. How any of that can be
> non-deterministic I just don't know.
>
> String/Symbol hash is pretty deterministic I hope...
#like: hash hex -> '16r7FA4E7F' both on 32 and 64 bits image/VM.
As a reformulation of the problem, #like: looks maybe like a Symbol, but
not the one we like.

tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Make it right before you make it faster.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200509/054e7cf0/attachment.html>


More information about the Squeak-dev mailing list