- 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 | serhiy.storchaka |
|---|---|
| Recipients | larry, scoder, serhiy.storchaka, vstinner, xtreak |
| Date | 2019-01-11.15:41:26 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1547221287.01.0.952362021002.issue35582@roundup.psfhosted.org> |
| In-reply-to |
| Content |
|---|
PR 11520 additionally replaces PyArg_UnpackTuple() and _PyArg_UnpackStack() with _PyArg_CheckPositional() and inlined code in Argument Clinic. Some examples for PR 11520: $ ./python -m timeit "'abc'.strip()" Unpatched: 5000000 loops, best of 5: 51.2 nsec per loop Patched: 5000000 loops, best of 5: 45.8 nsec per loop $ ./python -m timeit -s "d = {'a': 1}" "d.get('a')" Unpatched: 5000000 loops, best of 5: 55 nsec per loop Patched: 5000000 loops, best of 5: 51.1 nsec per loop $ ./python -m timeit "divmod(5, 2)" Unpatched: 5000000 loops, best of 5: 87 nsec per loop Patched: 5000000 loops, best of 5: 80.6 nsec per loop $ ./python -m timeit "hasattr(1, 'numerator')" Unpatched: 5000000 loops, best of 5: 62.4 nsec per loop Patched: 5000000 loops, best of 5: 54.8 nsec per loop $ ./python -m timeit "isinstance(1, int)" Unpatched: 5000000 loops, best of 5: 62.7 nsec per loop Patched: 5000000 loops, best of 5: 54.1 nsec per loop $ ./python -m timeit -s "from math import gcd" "gcd(6, 10)" Unpatched: 2000000 loops, best of 5: 99.6 nsec per loop Patched: 5000000 loops, best of 5: 89.9 nsec per loop $ ./python -m timeit -s "from operator import add" "add(1, 2)" Unpatched: 5000000 loops, best of 5: 40.7 nsec per loop Patched: 10000000 loops, best of 5: 32.6 nsec per loop |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-01-11 15:41:28 | serhiy.storchaka | set | recipients: + serhiy.storchaka, scoder, vstinner, larry, xtreak |
| 2019-01-11 15:41:27 | serhiy.storchaka | set | messageid: <1547221287.01.0.952362021002.issue35582@roundup.psfhosted.org> |
| 2019-01-11 15:41:27 | serhiy.storchaka | link | issue35582 messages |
| 2019-01-11 15:41:26 | serhiy.storchaka | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
