self send inliner (was: [Enh][VM] primitiveApplyToFromTo for the heart of theenumeration of collections?)

Philippe Marschall philippe.marschall at gmail.com
Tue Sep 19 17:14:05 UTC 2006


2006/9/18, Jecel Assumpcao Jr <jecel at merlintec.com>:
> Avi Bryant wrote:
> Has anyone ever played with a simple self-sends inliner?  No de-
> inlining when debugging, no post-inlining optimization, no attempt to
> deal with polymorphism, just inlining monomorphic self-sends...

Well, I'm toying around with something even simpler:

- Does not uninline when methods are added. So you need to load all
your code first and then recompile it.
- Can only implement methods that contain no return or the return is
the last statement.

Do you have a case study?

Philippe



More information about the Squeak-dev mailing list