RSSAmplifier

Andrew Brookins · Jun 11, 2021

What is Python's Default Hash Algorithm?

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

A friend of mine wondered recently, What is Python’s default hash algorithm? I knew that Python objects could implement a __hash__() method, but not what the default hash algorithm was, so I dug into this question a bit. NOTE : If you’re short on time, the answer is SipHash . Read on to learn more about what Python uses hashing for and why Python uses the SipHash algorithm specifically. What is…

Read on andrewbrookins.com

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.