[squeak-dev] Re: [Vm-dev] Re: [Pharo-project] About ~= and ~~

Eliot Miranda eliot.miranda at gmail.com
Wed Oct 12 20:16:53 UTC 2011


On Wed, Oct 12, 2011 at 12:22 PM, Colin Putney <colin at wiresong.com> wrote:

>
> On Wed, Oct 12, 2011 at 11:25 AM, Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
> > OK, in the end I decided on primitive number 169. It doesn't waste the
> > 150-159 range and is in amongst primitiveAdoptInstance and
> > primitiveSetIdentityHash.  David, would you like to integrate this into
> the
> > main branch?
>
> If dynamic frequency is low, why does it need to be a primitive?
>

People avoid it because of performance.  But I much prefer foo ~~ bar
ifTrue: than foo == bar ifFalse:.  So I suspect/hope dynamic frequency will
grow as people find its not such a performance issue any more.


> Colin
>



-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20111012/b4cab8f7/attachment.htm


More information about the Vm-dev mailing list