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/2003-May/035632.html below:

[Python-Dev] Simple dicts

[Python-Dev] Simple dicts [Python-Dev] Simple dictsGuido van Rossum guido@python.org
Thu, 15 May 2003 07:10:37 -0400
> When I took data structures I was taught that chaining was actually the 
> easiest way to do hash tables and they still had good performance 
> compared to open addressing.  Because of this taught bias I always 
> wondered why Python used open addressing; can someone tell me?

It was my choice, but I don't recall why.  Probably because Knuth said
so.  Or because it's simpler to implement with a single allocated
block (I think I was aware of the cost of malloc(), or else tuples and
strings would have used two blocks.  BTW, why don't Unicode objects
use this trick?)

--Guido van Rossum (home page: http://www.python.org/~guido/)



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