[Haskell-cafe] How to benckmark a Word64 -> Bool?
erkokl at gmail.com
Wed Feb 19 18:24:29 UTC 2014
Also, prefer quotRem over divMod as the former is faster. See here:
On Wed, Feb 19, 2014 at 10:19 AM, Gregory Collins
<greg at gregorycollins.net>wrote:
> On Wed, Feb 19, 2014 at 9:36 AM, Charles-Pierre Astolfi <cpa at crans.org>wrote:
>> So there's a difference, but I'm not sure if it's related to my algorithm
>> or related to IO/RTS.
> Text.Printf is slower than the C version (and uses String). Use
> Data.ByteString.putStr instead.
> Gregory Collins <greg at gregorycollins.net>
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe