Performance: sets vs dicts.

Jerry Hill malaclypse2 at gmail.com
Tue Aug 31 08:24:55 EDT 2010


On Mon, Aug 30, 2010 at 7:42 PM, Aahz <aahz at pythoncraft.com> wrote:
> Possibly; IMO, people should not need to run timeit to determine basic
> algorithmic speed for standard Python datatypes.

http://wiki.python.org/moin/TimeComplexity takes a stab at it.  IIRC,
last time this came up, there was some resistance to making promises
about time complexity in the official docs, since that would make
those numbers part of the language, and thus binding on other
implementations.

-- 
Jerry



More information about the Python-list mailing list