[Haskell-cafe] Re: Optimizing spelling correction program

Kamil Dworakowski kamil at dworakowski.name
Tue Jun 23 03:22:47 EDT 2009


On Jun 22, 10:12 pm, Bulat Ziganshin <bulat.zigans... at gmail.com>
wrote:
> Hello Kamil,
>
> Tuesday, June 23, 2009, 12:54:49 AM, you wrote:
>
> > I went back to using Strings instead of ByteStrings and with that
> > hashtable the program finishes in 31.5s! w00t!
>
> and GC times are? also, try ByteString+HT, it should be pretty easy to
> write hashByteString

GC time is 10%. I'll try ByteString+HT tonight. It might indeed be
faster because BloomFilter+String is slower that BloomFilter
+ByteString.


More information about the Haskell-Cafe mailing list