Performance comment (oddity with set.update())

John Arbash Meinel john at arbash-meinel.com
Wed Apr 23 03:45:07 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
| On Tue, 2008-04-22 at 16:49 -0500, John Arbash Meinel wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> I was just debugging some performance issues, and I came across something funny.
|>
|> Specifically, calling 'set.update()' with a generator that returns nothing is
|> slower than building it into a list and then updating.
|
| I think this is worth filing a python bug on , so that the python devs
| are aware of it.
|
| -Rob

Submitted:
http://bugs.python.org/issue2672

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgOorMACgkQJdeBCYSNAAM5VACgirTzdyYRqXRbcaphM5u4QOm8
MQQAn3ImxZCDhhy9RECfhI84xSHM3RqK
=nOL1
-----END PGP SIGNATURE-----



More information about the bazaar mailing list