Hi all,

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#:

https://github.com/jstolarek/packages-ghc-prim/commit/07920f03d76dbaec64e3829404d332af22d744fe

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
personally Bool would be even better since they map to JavaScript bools in
GHCJS).

thoughts?

luite
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to