order independent hash?

88888 Dihedral dihedral88888 at googlemail.com
Sun Dec 4 13:06:23 EST 2011


A hash that can hash objects is not a trivial hash function  

On Monday, December 5, 2011 1:41:14 AM UTC+8, Ian wrote:
> On Sun, Dec 4, 2011 at 8:39 AM, 88888 Dihedral
> <dihedr... at googlemail.com> wrote:
> > Thanks for your comments. Are we gonna talk about the way to implement a hash
> > table or the use of a hash table in programming?
> 
> Implementing a hash table is not very relevant on a list about Python,
> which already has them built into the language; and any pure Python
> implementation would be uselessly slow.
> 
> If you want to talk about ways to use dicts, please start a different
> thread for it.  As has been pointed out several times now, it is
> off-topic for this thread, which is about hash *functions*.

A hash that can hash objects is not a hash function at all.
Are you miss-leading the power of true OOP ?



More information about the Python-list mailing list