Change return type for Int64# and Word64# comparisons?
stegeman at gmail.com
Thu Aug 15 17:36:59 CEST 2013
With the recent change of comparison primops to return Int# instead of
Bool, the 64 bit operations were also changed, to return Int64# or Word64#:
It seems a bit wasteful to me to return a value bigger than a machine word
for just a boolean. Changing the type to Int# would make the same
optimizations possible as for the native-sized primops (though for me
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs