[squeak-dev] Re: [Vm-dev] Re: [Pharo-project] About ~= and ~~
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>
> > 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
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Vm-dev