This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients belopolsky, jameinel, rhettinger
Date 2008-04-23.20:38:26
SpamBayes Score 0.08362256
Marked as misclassified No
Message-id <1208983108.06.0.379658732126.issue2672@psf.upfronthosting.co.za>
In-reply-to
Content
I concur.  The source code for set_update() in Objects/setobject.c 
shows that both versions are accessed through the iterator protocol, so 
what you're seeing are the basic performance differences (start-up and 
per-item costs) for genexps vs list iterators.
History
Date User Action Args
2008-04-23 20:38:28rhettingersetspambayes_score: 0.0836226 -> 0.08362256
recipients: + rhettinger, belopolsky, jameinel
2008-04-23 20:38:28rhettingersetspambayes_score: 0.0836226 -> 0.0836226
messageid: <1208983108.06.0.379658732126.issue2672@psf.upfronthosting.co.za>
2008-04-23 20:38:27rhettingerlinkissue2672 messages
2008-04-23 20:38:26rhettingercreate