[Python-Dev] Hash to longs, and Decimal (original) (raw)
Guido van Rossum guido at python.org
Mon Sep 17 23:17:19 CEST 2007
- Previous message: [Python-Dev] Hash to longs, and Decimal
- Next message: [Python-Dev] Hash to longs, and Decimal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Seems a fine idea. I don't have the time for a code review but I'll leave that up to you all.
--Guido
On 9/17/07, Facundo Batista <facundobatista at gmail.com> wrote:
Hi everybody!
In the Tracker Issue... http://bugs.python.org/issue1772851 ... Mark Dickinson came with a patch that alters in a very corner case how the hash is calculated to a long integer. This allows changes in Decimal that lead to a better hashing behaviour for big, big, really big numbers. The patch applies cleanly, all the tests pass ok (Mark also provided more tests for the hash function). I won't commit this right now; I'll delay the change for a couple of days in case somebody wants to take a look at it. Thanks! -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Hash to longs, and Decimal
- Next message: [Python-Dev] Hash to longs, and Decimal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]