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

Reply via email to