[Vm-dev] Cog Primitive Performance

Bert Freudenberg bert at freudenbergs.de
Tue Apr 18 17:55:12 UTC 2017


On Tue, Apr 18, 2017 at 6:09 PM, Nicolas Cellier <nicolas.cellier.aka.nice@
gmail.com> wrote:

>
> Concerning the specific case of hashMultiply, since it's just an imul and
> a bitAnd, the primitive should be inlined by the VM just like other basic
> arithmetic operations IMO.
> So the remarks of Andres makes sense, even if we can't generalize to other
> Misc primitives.
>

Yes, code optimized by Sista should be pretty much as fast as a primitive,
so we could hopefully get rid of many primitives that are just there to
improve performance.

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170418/f3b76c9f/attachment.html>


More information about the Vm-dev mailing list