On Friday, October 2, 2015 at 2:18:47 AM UTC-7, Simon King wrote:
>
> And on second thought: Always returning 0 may actually speed things 
> *up*! There will be more hash collisions. But determining the string 
> representation to determine the hash can be very slow. 
>

I think you are underestimating how badly Python dicts depend on decent 
hash functions. See:

http://trac.sagemath.org/ticket/19331#comment:4

A change like this runs a real risk of degrading performance on certain 
code (that people might be relying on!) that currently runs correctly to 
such a level that it is effectively broken.  That's not the kind of change 
one should make in a release candidate.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to