<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 12, 2024 at 14:33 Mark Volkmann <<a href="mailto:r.mark.volkmann@gmail.com">r.mark.volkmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div dir="ltr">On Wed, Jun 12, 2024 at 4:28 PM Vanessa Freudenberg <<a href="mailto:vanessa@codefrau.net" target="_blank">vanessa@codefrau.net</a>> wrote:</div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div class="gmail_quote"><div>It's also twice as slow to leave out the block brackets because it prevents compiler optimizations and forces actual sends to be made. You can verify that by benchmarking, and understand it by looking at the bytecodes generated and running a message tally.</div></div></div></blockquote><div><br></div><div>I believe you, but I'm curious why it's faster to send the `value:` message to a block than to some other kind of object. Are you saying that the optimizations make it so the `value:` message is not actually sent to a block in this case and code in the block gets inlined? </div></div></div></blockquote><div dir="auto"><br></div><div dir="auto">Yes. That’s why I suggested a few tools for you to investigate. </div><div dir="auto"><br></div><div dir="auto">Vanessa</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr"><div class="gmail_quote"><div dir="auto"></div></div></div></blockquote></div></div>