If you look at the Core GHC produces (with -ddump-simpl), you'll probably see that the Ints have been unboxed for as many operations as possible, so manual unboxing won't make that much difference.


On Nov 2, 2016 1:15 AM, "Richard A. O'Keefe" <ok@cs.otago.ac.nz> wrote:
import GHC.Base
isTrue# (comparison)
show (I# x#)
worked.  Thank you very much.

This made a barely measurable difference to my program, so I now that
I know how to use unboxed integers, I can forget again.
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.