[Pharo-project] Cog VM -- Thanks and Performance / Optimization Questions

Damien Pollet damien.pollet at gmail.com
Thu Feb 17 16:24:24 CET 2011


On Thu, Feb 17, 2011 at 15:21, John B Thiel <jbthiel at gmail.com> wrote:
> I like to code with awareness of performance issues.  Can you tell or
> point me to some performance and efficiency tips for Cog and the
> Squeak compiler -- detail on which methods are inlined, best among
> alternatives, etc.  For example, I understand #to:do: is inlined --
> what about #to:do:by: and #timesRepeat and #repeat  ?  Basically, I
> would like to read a full overview of which core methods are specially
> optimized (or planned).

I think these methods should be marked with pragmas. Not sure how the
compiler decides to implement this or that inlined method, but maybe
an idea for the compiler redesign ?

-- 
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet




More information about the Pharo-project mailing list