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/2001-May/014898.html below:

[Python-Dev] PyBench DictCreation (was Re: Performance compares)

[Python-Dev] PyBench DictCreation (was Re: Performance compares) [Python-Dev] PyBench DictCreation (was Re: Performance compares)Guido van Rossum guido@digicool.com
Fri, 18 May 2001 11:27:39 -0400
> > (I guess he means the buffer is alloc'ed contiguously with the dict
> > object head.  That's often a nice strategy.  Could do that for small
> > lists too maybe, except those haven't gotten anybody's attention just
> > yet.)
> 
> Sounds to me like it would benifit tuples even more than lists or dicts. At
> least in my code, I see more short tuples than short lists, and they are
> usually not altered after creation ;-)

Which is why tuples already have this feature.

Posted before your first cup of coffee? :-)

--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