Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hashing tuples
#5
(Dec-03-2019, 10:51 PM)Gribouillis Wrote: hash() is meant to be fast in order to implement hash-table-like algorithms.

Yes, I liked the fast part and glossed over collisions Wall
Tomorrow I'll try to remove the str() hack and take hash-collisions into account, hoping it won't be too slow/use too much memory with the full dataset (that I still haven't tried with the str() hack, but now I am convinced that it won't work). But now I need sleep.

Thank you!
Reply


Messages In This Thread
Hashing tuples - by remow - Dec-03-2019, 10:33 PM
RE: Hashing tuples - by Gribouillis - Dec-03-2019, 10:36 PM
RE: Hashing tuples - by remow - Dec-03-2019, 10:45 PM
RE: Hashing tuples - by Gribouillis - Dec-03-2019, 10:51 PM
RE: Hashing tuples - by remow - Dec-03-2019, 11:19 PM
RE: Hashing tuples - by scidam - Dec-04-2019, 04:54 AM
RE: Hashing tuples - by Gribouillis - Dec-04-2019, 04:55 AM
RE: Hashing tuples - by remow - Dec-06-2019, 11:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hashing big files wavic 8 4,406 Apr-06-2018, 07:26 PM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020