<div dir="ltr"><div>Hi Subbu,</div><div>the or:/and: <br>are inlined, so there is no block activated, just conditional jump byte codes like ifTrue:/ifFalse:</div><div>| and & cost a message send. It would be interesting to study how sista inlining deals with it...<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 13 juin 2020 à 13:58, K K Subbu <<a href="mailto:kksubbu.ml@gmail.com">kksubbu.ml@gmail.com</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">On 12/06/20 11:18 pm, Thiede, Christoph wrote:<br>
> Marcel explicitly asked for duplicating these lines. However, one <br>
> single condition would not be bad either, but why would you use #| <br>
> instead of #or: here? Is this just in order to save one pair of <br>
> brackets? ;-)<br>
<br>
It is an simple boolean expression that can be evaluated in a single <br>
sequence of bytecodes.<br>
<br>
If the first part of the or: is false, then a block has to be activated <br>
and evaluated for the result. If the block involves significant <br>
computation then the overhead may not matter much. For simple <br>
expressions, it is an overkill.<br>
<br>
Regards .. Subbu<br>
<br>
</blockquote></div>