[Haskell-cafe] Program optimisation

Adrian Hey ahey at iee.org
Fri Apr 20 19:52:56 EDT 2007

David Roundy wrote:
 > I remember once going through all sorts of pain trying to avoid
 > stack overflows when using Data.Map to compute a histogram, which
 > all would have been avoided if there were a strict version of
 > Data.Map (or even just strict functions on the lazy Data.Map).

Then what you need is the new Data.Map clone..


which I believe has all the strictness control you could want.

Adrian Hey

More information about the Haskell-Cafe mailing list