diff options
| author | Jens Mönig <jens@moenig.org> | 2015-02-28 05:44:59 -0800 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2015-02-28 05:44:59 -0800 |
| commit | ee88f7ad398fe9867ad1bcf1c2588704fc012151 (patch) | |
| tree | 13da4a234e997c1de8993280498539c6893ecbdd /gui.js | |
| parent | 85388f19391aeb2d5ba87d36bbabace55ce842df (diff) | |
| download | snap-yow-ee88f7ad398fe9867ad1bcf1c2588704fc012151.tar.gz snap-yow-ee88f7ad398fe9867ad1bcf1c2588704fc012151.zip | |
Cache inputs - accelerate recursive reporters
and warped / turbo recursive commands by up to 40%
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2015-February-23'; +modules.gui = '2015-February-28'; // Declarations @@ -2267,6 +2267,17 @@ IDE_Morph.prototype.settingsMenu = function () { 'check to prioritize\nscript execution' ); addPreference( + 'Cache Inputs', + function () { + SyntaxElementMorph.prototype.isCachingInputs = + !SyntaxElementMorph.prototype.isCachingInputs; + }, + SyntaxElementMorph.prototype.isCachingInputs, + 'uncheck to stop caching\ninputs (for debugging the evaluator)', + 'check to cache inputs\nboosts recursion', + true + ); + addPreference( 'Rasterize SVGs', function () { MorphicPreferences.rasterizeSVGs = |
