On Tue, Jul 19, 2011 at 23:51, Nikhil A. Patil <[email protected]>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                                      [email protected]
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to