20 Feb
2014
20 Feb
'14
2:24 a.m.
Also, prefer quotRem over divMod as the former is faster. See here: http://stackoverflow.com/questions/339719/when-is-the-difference-between-quo... On Wed, Feb 19, 2014 at 10:19 AM, Gregory Collins <greg@gregorycollins.net>wrote:
On Wed, Feb 19, 2014 at 9:36 AM, Charles-Pierre Astolfi <cpa@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@gregorycollins.net>
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe