[Haskell-cafe] Re: Optimizing spelling correction program

Kamil Dworakowski kamil at dworakowski.name
Sun Jun 21 17:44:07 EDT 2009

> What are the keys in your Map? Strict ByteStrings?
> And you're using ghc 6.10.x?

For the record, I use 6.10.1 and strict ByteString everywhere now. I
used to have some lazy IO with vanilla strings, but switching to
Data.ByteString.Char8.readFile didn't change the time at all. The
big.txt is about 6megs. Profiling output says there are about 100 000
000 entries for the lookup function.


More information about the Haskell-Cafe mailing list