- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | belopolsky |
|---|---|
| Recipients | belopolsky, jameinel, rhettinger |
| Date | 2008-04-23.20:19:53 |
| SpamBayes Score | 0.10441089 |
| Marked as misclassified | No |
| Message-id | <1208981995.67.0.765672635502.issue2672@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
This has nothing to do with set.update, the difference is due to the time to setup the generator: $ python -m timeit -s 'x = set(range(10000)); y = []' 'x.update(y)' 1000000 loops, best of 3: 0.38 usec per loop $ python -m timeit -s 'x = set(range(10000)); y = (i for i in [])' 'x.update(y)' 1000000 loops, best of 3: 0.335 usec per loop |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008-04-23 20:19:56 | belopolsky | set | spambayes_score: 0.104411 -> 0.10441089 recipients: + belopolsky, rhettinger, jameinel |
| 2008-04-23 20:19:55 | belopolsky | set | spambayes_score: 0.104411 -> 0.104411 messageid: <1208981995.67.0.765672635502.issue2672@psf.upfronthosting.co.za> |
| 2008-04-23 20:19:54 | belopolsky | link | issue2672 messages |
| 2008-04-23 20:19:53 | belopolsky | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
