Inada Naoki <songofaca...@gmail.com> added the comment:

Since the hash is randomized, using hash(bytes) for such use case is not 
recommended. User should use stable hash functions instead.

I agree that there is few use cases this change cause performance regression. 
But it is really few compared to overhead of adding 8bytes for all bytes 
instances.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46864>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to