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.
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-caf e
Only members subscribed via the mailman list are allowed to post.