<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Hi Nicolas,</p>
<p><br>
</p>
<p>> <span style="font-size:12pt">CurrentReadOnlySourceFiles cacheDuring: [ ... ]</span></p>
<p><br>
</p>
<p>thanks, but this still kept my image busy for more than ten minutes!</p>
<p><br>
</p>
<p>> <span style="font-size:12pt">The problem is not so when evaluating nested block.</span></p>
<div>> It's when returning a nested block for later evaluation.</div>
<div><br>
</div>
<div>I know, but unless the nested block is unlined, you cannot tell whether any message that is sent to it, such as #cull:, will store it for later?</div>
<div>The compiler cannot know that #cull: does not look like this, for example:</div>
<div><br>
</div>
<div>cull: anObject</div>
<div>    Project current addDeferredUIMessage: [self value].</div>
<div>    ^ self value: anObject</div>
<div><br>
</div>
<div>Best,</div>
<div>Christoph</div>
<p></p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com><br>
<b>Gesendet:</b> Montag, 30. März 2020 12:54:20<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] Question about inlining | How to access named temps in FullBlockClosure?</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>Hi Christoph,<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Le ven. 27 mars 2020 à 17:10, Christoph Thiede <<a href="mailto:christoph.thiede@student.hpi.uni-potsdam.de">christoph.thiede@student.hpi.uni-potsdam.de</a>> a écrit :<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
Hi Eliot,<br>
<br>
> Quite right.  Can you find out how common cases like these are?  I bet you<br>
> there will be five methods or less in trunk that are affected.<br>
<br>
I did a full search in my image:<br>
<br>
pattern := '.*to\:[\s\r\n]*\w+[\s\r\n]*do\:[\s\r\n]*\[[^\]]*\[.*' asRegex.<br>
self systemNavigation allMethods select: [:m |<br>
        pattern matches: m getSource].<br>
<br>
My Source Files are very slow,<br>
</blockquote>
<div><br>
</div>
<div>You might want to use:</div>
<div><br>
</div>
<div>    CurrentReadOnlySourceFiles cacheDuring: [ ... ]<br>
</div>
<div><br>
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<<a href="http://forum.world.st/The-Inbox-ShoutCore-ct-78-mcz-tp5109909p5110050.html" rel="noreferrer" target="_blank">http://forum.world.st/The-Inbox-ShoutCore-ct-78-mcz-tp5109909p5110050.html</a>> 
<br>
so I interrupted the script after one hour, but I still found more than 250<br>
matches. I took some samples and they looked indeed relevant. Nested #to:do:<br>
loops, for example ...<br>
Or do I misunderstand your idea of a rule?<br>
<br>
</blockquote>
<div>The problem is not so when evaluating nested block.</div>
<div>It's when returning a nested block for later evaluation.</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
However, if we can agree on leaving it as it is, it's irrelevant ;-)<br>
<br>
Best,<br>
Christoph<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://forum.world.st/Squeak-Dev-f45488.html" rel="noreferrer" target="_blank">
http://forum.world.st/Squeak-Dev-f45488.html</a><br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>