Q: senders of inlined #to:do:

Philippe Marschall philippe.marschall at gmail.com
Sat Sep 16 10:36:13 UTC 2006


2006/9/15, Klaus D. Witzel <klaus.witzel at cobss.com>:
> I'm planning for an automated analysis of methods in the collection
> hierarchy which could be candidate for a possible #applyTo:from:to
> normalization (only if performance >= ).
>
> The analysis will be done by running Goya[1] and coloring the respective
> callers and callees, driven by a dedicated set of TestCases.
>
> But for inlined #to:do: and friends (#whileTrue:'s etc), another approach
> is needed. Is there perhaps something that someone can share, or do I have
> to write such a query with bytecode analysis tools. Any examples for the
> latter?
>
> Thank you in advance for comments, examples, pointers, all appreciated.

The AST package [1] adds #isInlineToDo to RBMessageNode. Yeah, it will
be slow but it's convenient.

Philippe

[1] http://www.squeaksource.com/AST/



More information about the Squeak-dev mailing list