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 | pitrou |
|---|---|
| Recipients | christian.heimes, gvanrossum, pitrou |
| Date | 2008年01月14日.01:25:38 |
| SpamBayes Score | 0.12894475 |
| Marked as misclassified | No |
| Message-id | <1200273939.95.0.463250016139.issue1819@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Another quick test: # With patch $ ./python -m timeit -s "d=dict(a=1,b=2,c=3,d=4,e=5);f = lambda a,b,c,d,e:0" "f(**d)" 1000000 loops, best of 3: 0.727 usec per loop $ ./python -m timeit -s "d=dict(b=2,c=3,d=4,e=5);f = lambda a,b,c,d,e:0" "f(a=1,**d)" 1000000 loops, best of 3: 1.16 usec per loop $ ./python -m timeit -s "d=dict(b=2,c=3,d=4,e=5); f=lambda **kw:0" "f(**d)" 1000000 loops, best of 3: 0.917 usec per loop # Without patch $ ./python-orig -m timeit -s "d=dict(a=1,b=2,c=3,d=4,e=5);f = lambda a,b,c,d,e:0" "f(**d)" 1000000 loops, best of 3: 1.24 usec per loop $ ./python-orig -m timeit -s "d=dict(b=2,c=3,d=4,e=5);f = lambda a,b,c,d,e:0" "f(a=1,**d)" 1000000 loops, best of 3: 1.62 usec per loop $ ./python-orig -m timeit -s "d=dict(b=2,c=3,d=4,e=5); f=lambda **kw:0" "f(**d)" 1000000 loops, best of 3: 0.904 usec per loop |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年01月14日 01:25:40 | pitrou | set | spambayes_score: 0.128945 -> 0.12894475 recipients: + pitrou, gvanrossum, christian.heimes |
| 2008年01月14日 01:25:40 | pitrou | set | spambayes_score: 0.128945 -> 0.128945 messageid: <1200273939.95.0.463250016139.issue1819@psf.upfronthosting.co.za> |
| 2008年01月14日 01:25:38 | pitrou | link | issue1819 messages |
| 2008年01月14日 01:25:38 | pitrou | create | |