Title: ceval.c: implement fast path for integers with a single digit · Issue #66154 · python/cpython · GitHub
Open Graph Title: ceval.c: implement fast path for integers with a single digit · Issue #66154 · python/cpython
X Title: ceval.c: implement fast path for integers with a single digit · Issue #66154 · python/cpython
Description: BPO 21955 Nosy @malemburg, @rhettinger, @mdickinson, @pitrou, @vstinner, @skrah, @serhiy-storchaka, @1st1, @MojoVampire PRs #22481 Files 21955.patchbench_long.pyinline.patch21955_2.patchbench_results.txtfastint1.patchfastint2.patchfastin...
Open Graph Description: BPO 21955 Nosy @malemburg, @rhettinger, @mdickinson, @pitrou, @vstinner, @skrah, @serhiy-storchaka, @1st1, @MojoVampire PRs #22481 Files 21955.patchbench_long.pyinline.patch21955_2.patchbench_resul...
X Description: BPO 21955 Nosy @malemburg, @rhettinger, @mdickinson, @pitrou, @vstinner, @skrah, @serhiy-storchaka, @1st1, @MojoVampire PRs #22481 Files 21955.patchbench_long.pyinline.patch21955_2.patchbench_resul...
Opengraph URL: https://github.com/python/cpython/issues/66154
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ceval.c: implement fast path for integers with a single digit","articleBody":"BPO | [21955](https://bugs.python.org/issue21955)\n--- | :---\nNosy | @malemburg, @rhettinger, @mdickinson, @pitrou, @vstinner, @skrah, @serhiy-storchaka, @1st1, @MojoVampire\nPRs | \u003cli\u003epython/cpython#22481\u003c/li\u003e\nFiles | \u003cli\u003e[21955.patch](https://bugs.python.org/file35961/21955.patch \"Uploaded as text/plain at 2014-07-16.00:29:26 by zbyrne\")\u003c/li\u003e\u003cli\u003e[bench_long.py](https://bugs.python.org/file35964/bench_long.py \"Uploaded as text/plain at 2014-07-16.08:13:13 by @vstinner\")\u003c/li\u003e\u003cli\u003e[inline.patch](https://bugs.python.org/file35965/inline.patch \"Uploaded as text/plain at 2014-07-16.08:13:28 by @vstinner\")\u003c/li\u003e\u003cli\u003e[21955_2.patch](https://bugs.python.org/file36021/21955_2.patch \"Uploaded as text/plain at 2014-07-22.02:34:34 by zbyrne\")\u003c/li\u003e\u003cli\u003e[bench_results.txt](https://bugs.python.org/file41795/bench_results.txt \"Uploaded as text/plain at 2016-02-03.16:40:26 by zbyrne\")\u003c/li\u003e\u003cli\u003e[fastint1.patch](https://bugs.python.org/file41796/fastint1.patch \"Uploaded as text/plain at 2016-02-03.17:00:24 by @1st1\")\u003c/li\u003e\u003cli\u003e[fastint2.patch](https://bugs.python.org/file41799/fastint2.patch \"Uploaded as text/plain at 2016-02-04.06:02:46 by @1st1\")\u003c/li\u003e\u003cli\u003e[fastint_alt.patch](https://bugs.python.org/file41801/fastint_alt.patch \"Uploaded as text/plain at 2016-02-04.10:30:02 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[fastintfloat_alt.patch](https://bugs.python.org/file41807/fastintfloat_alt.patch \"Uploaded as text/plain at 2016-02-04.16:36:18 by @serhiy-storchaka\")\u003c/li\u003e\u003cli\u003e[fastint4.patch](https://bugs.python.org/file41811/fastint4.patch \"Uploaded as text/plain at 2016-02-05.01:37:39 by @1st1\")\u003c/li\u003e\u003cli\u003e[fastint5.patch](https://bugs.python.org/file41815/fastint5.patch \"Uploaded as text/plain at 2016-02-05.04:04:34 by @1st1\")\u003c/li\u003e\u003cli\u003e[bench_long2.py](https://bugs.python.org/file41821/bench_long2.py \"Uploaded as text/plain at 2016-02-05.15:58:17 by @vstinner\")\u003c/li\u003e\u003cli\u003e[compare.txt](https://bugs.python.org/file41822/compare.txt \"Uploaded as text/plain at 2016-02-05.15:58:23 by @vstinner\")\u003c/li\u003e\u003cli\u003e[compare_to.txt](https://bugs.python.org/file41823/compare_to.txt \"Uploaded as text/plain at 2016-02-05.15:58:30 by @vstinner\")\u003c/li\u003e\u003cli\u003e[fastint5_2.patch](https://bugs.python.org/file41829/fastint5_2.patch \"Uploaded as text/plain at 2016-02-06.00:10:27 by @1st1\")\u003c/li\u003e\u003cli\u003e[fastint5_3.patch](https://bugs.python.org/file41830/fastint5_3.patch \"Uploaded as text/plain at 2016-02-06.00:45:07 by @1st1\")\u003c/li\u003e\u003cli\u003e[fastint5_4.patch](https://bugs.python.org/file41831/fastint5_4.patch \"Uploaded as text/plain at 2016-02-06.01:29:53 by @1st1\")\u003c/li\u003e\u003cli\u003e[inline-2.patch](https://bugs.python.org/file41832/inline-2.patch \"Uploaded as text/plain at 2016-02-06.01:31:55 by @vstinner\")\u003c/li\u003e\u003cli\u003e[fastint6.patch](https://bugs.python.org/file41843/fastint6.patch \"Uploaded as text/plain at 2016-02-07.21:32:53 by @1st1\")\u003c/li\u003e\u003cli\u003e[mpmath_bench.py](https://bugs.python.org/file41882/mpmath_bench.py \"Uploaded as text/plain at 2016-02-10.10:02:13 by @vstinner\")\u003c/li\u003e\u003cli\u003e[fastint6_inline2_json.tar.gz](https://bugs.python.org/file45150/fastint6_inline2_json.tar.gz \"Uploaded as application/x-gzip at 2016-10-20.09:31:17 by @vstinner\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/1st1'\nclosed_at = \u003cDate 2016-10-20.10:11:39.156\u003e\ncreated_at = \u003cDate 2014-07-11.09:10:27.900\u003e\nlabels = ['interpreter-core', 'performance']\ntitle = 'ceval.c: implement fast path for integers with a single digit'\nupdated_at = \u003cDate 2020-10-01.16:57:44.688\u003e\nuser = 'https://github.com/vstinner'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-10-01.16:57:44.688\u003e\nactor = 'vstinner'\nassignee = 'yselivanov'\nclosed = True\nclosed_date = \u003cDate 2016-10-20.10:11:39.156\u003e\ncloser = 'vstinner'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2014-07-11.09:10:27.900\u003e\ncreator = 'vstinner'\ndependencies = []\nfiles = ['35961', '35964', '35965', '36021', '41795', '41796', '41799', '41801', '41807', '41811', '41815', '41821', '41822', '41823', '41829', '41830', '41831', '41832', '41843', '41882', '45150']\nhgrepos = []\nissue_num = 21955\nkeywords = ['patch']\nmessage_count = 111.0\nmessages = ['222731', '222804', '222824', '222829', '222830', '222985', '223162', '223177', '223180', '223186', '223214', '223623', '223711', '223726', '238437', '238455', '258057', '258060', '258062', '259417', '259428', '259429', '259431', '259490', '259491', '259493', '259494', '259495', '259496', '259497', '259499', '259500', '259502', '259503', '259505', '259506', '259508', '259509', '259530', '259540', '259541', '259542', '259545', '259549', '259552', '259554', '259560', '259562', '259563', '259564', '259565', '259567', '259568', '259571', '259573', '259574', '259577', '259578', '259601', '259605', '259607', '259612', '259614', '259626', '259663', '259664', '259666', '259667', '259668', '259669', '259670', '259671', '259672', '259673', '259675', '259678', '259695', '259702', '259706', '259707', '259712', '259713', '259714', '259722', '259729', '259730', '259733', '259734', '259743', '259790', '259791', '259792', '259793', '259800', '259801', '259804', '259832', '259859', '259860', '259918', '259919', '259948', '259999', '264018', '264019', '279021', '279022', '279023', '279026', '279027', '377777']\nnosy_count = 13.0\nnosy_names = ['lemburg', 'rhettinger', 'mark.dickinson', 'pitrou', 'vstinner', 'casevh', 'skrah', 'Yury.Selivanov', 'python-dev', 'serhiy.storchaka', 'yselivanov', 'josh.r', 'zbyrne']\npr_nums = ['22481']\npriority = 'normal'\nresolution = 'rejected'\nstage = 'patch review'\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue21955'\nversions = ['Python 3.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2014-07-11T09:10:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":114},"url":"https://github.com/66154/cpython/issues/66154"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:35b2d40e-4f5b-bf06-59ea-d14bd9a0e59f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFD0:9F856:1C9932:270F2C:6A557AEE |
| html-safe-nonce | 45d7642fe8923b4a8b17b1aa017ad563714e6e9d7f038a6cfd0b918440d84fbd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkQwOjlGODU2OjFDOTkzMjoyNzBGMkM6NkE1NTdBRUUiLCJ2aXNpdG9yX2lkIjoiMjEzNDkzNTI2NzE3MzU2MzExOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b6042c117e47e6d123b1bee14b9174e92019408118a687ce5eccd409f548d649 |
| hovercard-subject-tag | issue:1198923358 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/66154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac0c59f902c0020ae5ed61bde37d88d2119c01b39ba6e0c1d0a1cbe968d50ee1/python/cpython/issues/66154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac0c59f902c0020ae5ed61bde37d88d2119c01b39ba6e0c1d0a1cbe968d50ee1/python/cpython/issues/66154 |
| og:image:alt | BPO 21955 Nosy @malemburg, @rhettinger, @mdickinson, @pitrou, @vstinner, @skrah, @serhiy-storchaka, @1st1, @MojoVampire PRs #22481 Files 21955.patchbench_long.pyinline.patch21955_2.patchbench_resul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 617ea94e2807dc3052601c560530bb3f8259bc9a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width