Compiling data

2004-05-27 Thread Ketil Malde
Hi, I've recently tried to compile some data into my program, and suddenly I realize why people tend to complain about the speed of GHC. For a benchmark, I'd like to include a bit of data in the form of a list of integer matrices (i.e. [[[Int]]]). While I have about 1 of them, sized about

RE: Compiling data

2004-05-27 Thread Simon Peyton-Jones
: [EMAIL PROTECTED] [mailto:glasgow-haskell-users- | [EMAIL PROTECTED] On Behalf Of Ketil Malde | Sent: 27 May 2004 10:41 | To: [EMAIL PROTECTED] | Subject: Compiling data | | | Hi, | | I've recently tried to compile some data into my program, and suddenly | I realize why people tend to complain about

Re: Compiling data

2004-05-27 Thread Christian Maeder
We have put a large list in double quotes and used read to convert the large literal string (too big for hugs, though) into the needed list. This reduced compile time drastically, but I don't know how the runtime changed. (Also errors can only occur at runtime.) Christian Ketil Malde wrote:

Re: Compiling data

2004-05-27 Thread Arjan van IJzendoorn
Hi Ketil, For a benchmark, I'd like to include a bit of data in the form of a list of integer matrices (i.e. [[[Int]]]). While I have about 1 of them, sized about twenty square, even 100 of them takes extremely long to compile. Is there a trick to make this faster? Could you put the

Re: Compiling data

2004-05-27 Thread Ketil Malde
Christian Maeder [EMAIL PROTECTED] writes: We have put a large list in double quotes and used read to convert the large literal string (too big for hugs, though) into the needed list. This reduced compile time drastically, but I don't know how the runtime changed. (Also errors can only occur

Re: Compiling data

2004-05-27 Thread Mark Alexander Wotton
On Thu, 27 May 2004, Ketil Malde wrote: Christian Maeder [EMAIL PROTECTED] writes: We have put a large list in double quotes and used read to convert the large literal string (too big for hugs, though) into the needed list. This reduced compile time drastically, but I don't know how the