A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-April/023793.html below:

[Python-Dev] iterzip()

[Python-Dev] iterzip()holger krekel pyth@devel.trillke.net
Mon, 29 Apr 2002 22:02:23 +0200
On Mon, Apr 29, 2002 at 03:55:15PM -0400, Guido van Rossum wrote:
> > I get:
> > 
> >  juststore   0.93
> >   justtups   0.58
> >  storetups   7.61
> > 
> > list.append is out of the picture here.  Creating a million tuples
> > goes fast so long as they're recycled, and storing a million things
> > goes fast, but storing a million distinct tuples takes very much
> > longer.  It's a Mystery to me so far.  How does it act on Linux?
> 
> Very reasonable with Python 2.2:
> 
>  juststore   0.95
>   justtups   0.82
>  storetups   1.61

Strange. my linux with python2.2.1rc2 (default) gives me:

juststore   0.93
justtups   0.83
storetups  10.13

__holger




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