A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-February/156558.html below:

[Python-Dev] Compact ordered set

[Python-Dev] Compact ordered set [Python-Dev] Compact ordered setGreg Ewing greg.ewing at canterbury.ac.nz
Thu Feb 28 16:30:14 EST 2019
Antoine Pitrou wrote:

> On a more abstract level, set and dict are both content-addressed
> collections parametered on hash and equality functions.

Indeed. It's been said that a set is like "half a dict", and
this is why sets were implemented using dicts in the old days.
It's kind of an obvious thing to do.

You can argue about how far the analogy should be taken, but
you can't blame people for noticing the similarity.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4