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 10000 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 data in a file and then read it in?

main = do 
    contents <- readFile "aLotOfNumbers.txt"
    let hugeMatrix = ( read contents ) :: [[[Int]]]
    ...

Cheers, Arjan

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to