Performance comment (oddity with set.update())
Robert Collins
robertc at robertcollins.net
Wed Apr 23 00:11:22 BST 2008
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
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080423/9378c282/attachment-0002.pgp
More information about the bazaar
mailing list