[Haskell-cafe] Using unboxed integers
zemyla at gmail.com
Thu Nov 3 10:17:24 UTC 2016
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 at 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:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe