<div dir="ltr">On Tue, Jul 19, 2011 at 23:51, Nikhil A. Patil <span dir="ltr"><<a href="mailto:patil.nikhil@gmail.com">patil.nikhil@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is there any way of getting the following code to immediately return<br>
True without performing the element-by-element comparison? Essentially<br>
this boils down to checking whether pointers are equal before<br>
comparing the contents.<br></blockquote><div><br></div><div>Let's pt it this way: there's a hidden primitive called "reallyUnsafePointerEquality". It's named that for a reason.</div><div><br></div>
</div>-- <br>brandon s allbery <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>wandering unix systems administrator (available) (412) 475-9364 vm/sms<br>
<br>
</div>