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

2006-09-05 Thread Udo Stenzel
Bulat Ziganshin wrote: > Data.HashTable may be a faster alternative for Map (if ordering isn't > required) Or it may not. Finding a good hash function for the words John is counting, is a challenge itself. Finding a good one that doesn't look at each character at least once, might be outright im

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

2006-09-05 Thread Bulat Ziganshin
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) -- Best