NewCompiler and Preferences compileBlocksAsClosures

John M McIntosh johnmci at smalltalkconsulting.com
Mon Oct 16 20:59:45 UTC 2006


I'm wondering here if anyone has thought about writing some code that  
attempts to figure out if a given block is changed from the current  
implementation to having closure
if that would affect the results of the block evaulation. Going  
forward if you turn on forcecompileallblocksasclosure then how would  
you know if it would have side-effects or not
in a random method in the base image?

On 16-Oct-06, at 1:33 PM, Stephan Rudlof wrote:

>
> What about two preferences
> - compileBlocksAsClosuresDefault (default false, for methods  
> without pragma and pragma value "followPreference")
> - forceCompileAllBlocksAsClosures (default false with no effect  
> then; overriding pragma and previous pref, if true)

--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com>
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===





More information about the Squeak-dev mailing list