Skip to content

haxney/set-investigate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Set Investigations

These are some tools to help experiment with the behavior of Python’s set type. It’s behavior in the face of hash collisions is… weird. Consider the following:

[{i, i + 8} for i in range(6)] #=> [{8, 0}, {9, 1}, {10, 2}, {3, 11}, {4, 12}, {13, 5}]

That’s wacky.

Inspired stolen from:

About

What's up with Python's sets?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages