
2 Oct
2008
2 Oct
'08
1:54 a.m.
On Wed, Oct 1, 2008 at 22:25, wman <666wman@gmail.com> wrote:
First step would probably be using Ints instead of Integers.
Doesn't seem to make a real difference in GHCi. -- _jsn Prelude> do_perfect [1..2000] :: [Integer] [6,28,496] it :: [Integer] (4.22 secs, 169352736 bytes) Prelude> do_perfect [1..2000] :: [Int] [6,28,496] it :: [Int] (4.23 secs, 153699692 bytes)