Commit 1f928990 authored by Christoph Groth's avatar Christoph Groth
Browse files

comment on hash(double)

parent 50073256
...@@ -811,7 +811,9 @@ HASH_TYPE hash(long x) ...@@ -811,7 +811,9 @@ HASH_TYPE hash(long x)
HASH_TYPE hash(double x) HASH_TYPE hash(double x)
{ {
return _Py_HashDouble(x) ; // We used to have our own implementation of this, but the extra function
// call is quite negligible compared to the execution time of the function.
return _Py_HashDouble(x);
} }
HASH_TYPE hash(Complex x) HASH_TYPE hash(Complex x)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment