[Haskell-cafe] Why does this program eat RAM?

Chris Kuklewicz haskell at list.mightyreason.com
Tue Sep 5 07:05:23 EDT 2006


Bulat Ziganshin wrote:
> Hello Bertram,
> 
> Tuesday, September 5, 2006, 12:24:57 PM, you wrote:
> 
>>> A quick hack up to use Data.ByteString uses a lot less ram, though
>>> profiling still shows 95% of time spent in the building the Map.
> 
> Data.HashTable may be a faster alternative for Map (if ordering isn't
> required)
> 
> 

I found Data.HashTable a bit slow (ghc 6.4).  Perhaps HsJudy (see 
http://cmarcelo.blogspot.com/ and http://judy.sourceforge.net/ and 
http://www.mail-archive.com/haskell@haskell.org/msg18766.html )


More information about the Haskell-Cafe mailing list