On Tue, Jul 19, 2011 at 23:51, Nikhil A. Patil <patil.nikhil@gmail.com> wrote:
Is there any way of getting the following code to immediately return
True without performing the element-by-element comparison? Essentially
this boils down to checking whether pointers are equal before
comparing the contents.

Let's pt it this way:  there's a hidden primitive called "reallyUnsafePointerEquality".  It's named that for a reason.

--
brandon s allbery                                      allbery.b@gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms