[squeak-dev] The Trunk: Compiler-nice.201.mcz

Levente Uzonyi leves at elte.hu
Thu Mar 31 14:52:50 UTC 2011


On Thu, 31 Mar 2011, Nicolas Cellier wrote:

> "An interesting snippet"
> Compiler recompileAll.
> (MessageNode classPool at:#MacroSelectors) collect: [:e | e ->
> (SystemNavigation default allCallsOn: e) size]
> ->
> {#ifTrue:->7601 .
> #ifFalse:->3252 .
> #ifTrue:ifFalse:->4152 .
> #ifFalse:ifTrue:->249 .
> #and:->2222 .
> #or:->1355 .
> #whileFalse:->490 .
> #whileTrue:->723 .
> #whileFalse->99 .
> #whileTrue->93 .
> #to:do:->1178 .
> #to:by:do:->140 .
> #caseOf:->7 .
> #caseOf:otherwise:->33 .
> #ifNil:->2773 .
> #ifNotNil:->2065 .
> #ifNil:ifNotNil:->568 .
> #ifNotNil:ifNil:->157 .
> #repeat->23}

Great, thanks!


Levente



More information about the Squeak-dev mailing list