Help with a Shootout program

Simon Marlow simonmar at microsoft.com
Fri Feb 25 10:29:06 EST 2005


On 25 February 2005 13:46, Alson Kemp wrote:

>> Welcome to the club :-)
>>
http://www.mail-archive.com/[email protected]/msg06012.h
tml
> 	I tried Simon's version, but it throws a "Fail: Ix{Int}.index:
Index
> (5) out of range ((0,4))" error.  Haven't tracked down the cause yet.
> 
> 	So I guess that the upshot is just that "GHC is slow on this
test."
> Is lazy evaluation what is slowing this down so badly?

There's no fundamental problem here.  We just need decent support for
packed strings and hash tables (or tries?) of them.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list