<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>H Denis,</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">&nbsp; &nbsp; there are bytecodes for #== and #class that do no lookup. &nbsp;Look for Smalltalk specialSelectors and you'll figure it out. &nbsp;There are 32 special selectors. &nbsp;The first is #+ and has bytecode 176 in the default bytecode set.<br><br><span style="background-color: rgba(255, 255, 255, 0);">_,,,^..^,,,_ (phone)</span></div><div><br>On May 27, 2016, at 12:54 PM, Denis Kudriashov &lt;<a href="mailto:dionisiydk@gmail.com">dionisiydk@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><span></span></div></blockquote><blockquote type="cite"><div><div dir="ltr">Hi.<div><br></div><div>I want to play with idea to make #ifNil: optimization in the way that for particular receiver it will be always real message send.</div><div>I want to compile it with extra check like&nbsp;</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>receiver class = MySpecialClass ifTrue: ifNilBlock.</div></blockquote><div><br></div>I want to measure performance impact.&nbsp;<div>I know in the past #class was compiled as special bytecode. Is it available now? And what bytecode I could use?</div><div><br></div><div>Best regards,</div><div>Denis</div></div>
</div></blockquote></body></html>