[Enh][VM] primitiveApplyToFromTo for the heart of
theenumeration of collections?
Klaus D. Witzel
klaus.witzel at cobss.com
Sun Sep 17 20:29:29 UTC 2006
On Sun, 17 Sep 2006 22:04:39 +0200, Bryce Kampjes wrote:
> J J writes:
> > Now I understand your objection about not wanting to add a speed
> > optimization that actually slows down the common case, but I don't
> see where
> > the message sends get slower. Does that have something to do with
> another
> > primative being added? Does every new primative add a speed hit?
>
> The speed hit comes from the code in commonSend and
> commonReturn. Adding a primitive, only effects performance when it's
> executed.
JJ, with "code in commonSend and commonReturn" the code which I added is
meant (est. slow down was calculated 1% to 15%), not the unchanged code
(slowdown 0%).
While I'm here I can report that slowdown of #commonSend is now back to
where it was. Now #comonReturn wants my attention ;-)
/Klaus
More information about the Squeak-dev
mailing list
|