Manlio Perillo ha scritto: > [...] > Here is an Haskell version: > http://paste.pocoo.org/show/102801/ > > On my system it takes 30 seconds. > Sorry, I compiled without optimizations enabled. With -O2 it now runs in 20 seconds. What other optimizations should I enable? Thanks Manlio Perillo