<p dir="ltr">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.</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Nov 2, 2016 1:15 AM, "Richard A. O'Keefe" <<a href="mailto:ok@cs.otago.ac.nz">ok@cs.otago.ac.nz</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">import GHC.Base<br>
isTrue# (comparison)<br>
show (I# x#)<br>
worked. Thank you very much.<br>
<br>
This made a barely measurable difference to my program, so I now that<br>
I know how to use unboxed integers, I can forget again.<br>
______________________________<wbr>_________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bi<wbr>n/mailman/listinfo/haskell-caf<wbr>e</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div></div>