[Haskell-cafe] How to benckmark a Word64 -> Bool?

Gregory Collins greg at gregorycollins.net
Wed Feb 19 18:19:51 UTC 2014

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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140219/2604b8c4/attachment.html>

More information about the Haskell-Cafe mailing list