[Python-Dev] iterzip() (original) (raw)

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