[squeak-dev] Re: Boolean over-optimization #ifTrue:/#ifFalse:

Lukas Renggli renggli at gmail.com
Wed Mar 5 06:52:02 UTC 2008


> So, the only way is to compile method without optimization of #ifTrue #ifFalse:,
>  to make sure they do real sends?

Just today in my blog-reader:

http://www.cincomsmalltalk.com/userblogs/mls/blogView?showComments=true&printTitle=Boolean_Objects&entry=3382109971

This should also work in Squeak.

>  If yes, i'd like to see optimizations optional, so people can do like:
>
>  Compiler turnOffOptimizations.

That will not only kill your performance ...

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch



More information about the Squeak-dev mailing list