Tue Aug 21 07:07:06 PDT 2007  Ian Lynagh <[EMAIL PROTECTED]>
  * Fix hashInt
  As pointed out in
  http://www.haskell.org/pipermail/glasgow-haskell-bugs/2007-August/009545.html
  the old behaviour was
  Prelude Data.HashTable> map hashInt [0..10]
  [0,-1,-1,-2,-2,-2,-3,-3,-4,-4,-4]
  
  Fixed according to the "Fibonacci Hashing" algorithm described in
  http://www.brpreiss.com/books/opus4/html/page213.html
  http://www.brpreiss.com/books/opus4/html/page214.html

    M ./Data/HashTable.hs -3 +3
_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to