[squeak-dev] [Vm-dev] [Pharo-dev] Byte & String collection hash performance; a modest proposal for change.

Levente Uzonyi leves at caesar.elte.hu
Mon May 1 19:06:28 UTC 2017


I have a really strong opinion on Traits, which is: they are bad, because 
they are stateless. I proposed a better solution, which would have allowed 
you to work with classes only, but no one showed interest in it.

Levente

On Mon, 1 May 2017, Tony Garnock-Jones wrote:

> On 5/1/17 1:26 PM, Levente Uzonyi wrote:
>> I presume that a general purpose in-image solution would be more
>> complex. String already has too many subclasses (6 in Squeak), while at
>> the same time other kind of new subclasses would be welcome too, e.g.
>> Strings with 2-byte characters.
>> Since these properties are orthogonal, there would be many new
>> subclasses to cover all cases.
>
> A classic motivating case for Traits, right?
>
> Tony
>


More information about the Squeak-dev mailing list