Infinite loop when using Data.HashTable.newHint and Data.HashTable.update
|Reported by:||erszcz||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Revisions:|
When using Data.HashTable.newHint and Data.HashTable.update to read a big (~1.5mln words) file into a HashTable the program seems to fall into an infinite loop.
"Seems to" since I couldn't wait long enough for it to finish computation. At least the execution time is way bigger than expected (orders of magnitude, like hours vs. expected seconds).
Data.HashTable.new doesn't cause the same issue.
Attached to the report is an example program reproducing the bug along with a data file the issue occurs with.
The bug was discussed on haskell-beginners mailing list quite a while ago, though I've summarized the findings in this bug report. See: