[project @ 2004-03-19 11:00:02 by simonmar]
authorsimonmar <unknown>
Fri, 19 Mar 2004 11:00:02 +0000 (11:00 +0000)
committersimonmar <unknown>
Fri, 19 Mar 2004 11:00:02 +0000 (11:00 +0000)
commit4601d6284c068dcefe1a2c7e540f0df17c8a58dd
tree121d9a1c52f443f7c92e642620a5c7ab3d68cb21
parent19cca2cff311f47e55c066e7cf25e8346e2a948a
[project @ 2004-03-19 11:00:02 by simonmar]
- fix one performance bug: we weren't updating the bucket count when
  expanding the hash table, so too many expansions were happening.

- slight improvement to hashString: if we use foldl rather than foldr,
  the resulting code uses an accumulating parameter and runs in linear
  stack space.
Data/HashTable.hs