Message 65705 - Python tracker
Message65705
| 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:28 | rhettinger | set | spambayes_score: 0.0836226 -> 0.08362256 recipients: + rhettinger, belopolsky, jameinel |
| 2008-04-23 20:38:28 | rhettinger | set | spambayes_score: 0.0836226 -> 0.0836226 messageid: <1208983108.06.0.379658732126.issue2672@psf.upfronthosting.co.za> |
| 2008-04-23 20:38:27 | rhettinger | link | issue2672 messages |
| 2008-04-23 20:38:26 | rhettinger | create | |