Title: Add length_hint parameter to list, dict, set constructors to allow efficient presizing · Issue #61540 · python/cpython · GitHub
Open Graph Title: Add length_hint parameter to list, dict, set constructors to allow efficient presizing · Issue #61540 · python/cpython
X Title: Add length_hint parameter to list, dict, set constructors to allow efficient presizing · Issue #61540 · python/cpython
Description: BPO 17338 Nosy @brettcannon, @rhettinger, @gpshead, @pitrou, @scoder, @vstinner, @giampaolo, @tiran, @benjaminp, @tpn, @alex, @asvetlov, @serhiy-storchaka Files preallocate.patchlistresize.py Note: these values reflect the state of the i...
Open Graph Description: BPO 17338 Nosy @brettcannon, @rhettinger, @gpshead, @pitrou, @scoder, @vstinner, @giampaolo, @tiran, @benjaminp, @tpn, @alex, @asvetlov, @serhiy-storchaka Files preallocate.patchlistresize.py Note:...
X Description: BPO 17338 Nosy @brettcannon, @rhettinger, @gpshead, @pitrou, @scoder, @vstinner, @giampaolo, @tiran, @benjaminp, @tpn, @alex, @asvetlov, @serhiy-storchaka Files preallocate.patchlistresize.py Note:...
Opengraph URL: https://github.com/python/cpython/issues/61540
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add length_hint parameter to list, dict,\tset constructors to allow efficient presizing","articleBody":"BPO | [17338](https://bugs.python.org/issue17338)\n--- | :---\nNosy | @brettcannon, @rhettinger, @gpshead, @pitrou, @scoder, @vstinner, @giampaolo, @tiran, @benjaminp, @tpn, @alex, @asvetlov, @serhiy-storchaka\nFiles | \u003cli\u003e[preallocate.patch](https://bugs.python.org/file29315/preallocate.patch \"Uploaded as text/plain at 2013-03-05.18:53:34 by @tiran\")\u003c/li\u003e\u003cli\u003e[listresize.py](https://bugs.python.org/file29325/listresize.py \"Uploaded as text/plain at 2013-03-06.12:37:16 by @tiran\")\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 = None\nclosed_at = \u003cDate 2014-05-03.23:17:55.023\u003e\ncreated_at = \u003cDate 2013-03-02.17:23:39.401\u003e\nlabels = ['performance']\ntitle = 'Add length_hint parameter to list, dict,\\tset constructors to allow efficient presizing'\nupdated_at = \u003cDate 2014-05-03.23:17:55.022\u003e\nuser = 'https://github.com/alex'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2014-05-03.23:17:55.022\u003e\nactor = 'rhettinger'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2014-05-03.23:17:55.023\u003e\ncloser = 'rhettinger'\ncomponents = []\ncreation = \u003cDate 2013-03-02.17:23:39.401\u003e\ncreator = 'alex'\ndependencies = []\nfiles = ['29315', '29325']\nhgrepos = []\nissue_num = 17338\nkeywords = ['patch']\nmessage_count = 17.0\nmessages = ['183332', '183339', '183349', '183353', '183360', '183361', '183365', '183366', '183473', '183536', '183545', '183552', '183558', '183580', '183589', '183592', '217843']\nnosy_count = 14.0\nnosy_names = ['brett.cannon', 'rhettinger', 'gregory.p.smith', 'pitrou', 'scoder', 'vstinner', 'giampaolo.rodola', 'christian.heimes', 'benjamin.peterson', 'trent', 'alex', 'asvetlov', 'neologix', 'serhiy.storchaka']\npr_nums = []\npriority = 'normal'\nresolution = 'rejected'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'performance'\nurl = 'https://bugs.python.org/issue17338'\nversions = ['Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/alex","@type":"Person","name":"alex"},"datePublished":"2013-03-02T17:23:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/61540/cpython/issues/61540"}
| 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:831dca95-174b-c506-eecd-17623dcd6dcd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A9E:3CF864:1166CE4:1701E0D:6A51AAAC |
| html-safe-nonce | ee86f84450d8d719c6d29d764d0c4b33096c2ddefc53362abea0263c9fe84530 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTlFOjNDRjg2NDoxMTY2Q0U0OjE3MDFFMEQ6NkE1MUFBQUMiLCJ2aXNpdG9yX2lkIjoiNjk5MzA1OTgyNjA3NjA2ODUyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 534e74764a737bdbde864b8bc2a1b52d92ae68e744a9836bf330a49ee75953d8 |
| hovercard-subject-tag | issue:1198897532 |
| 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/61540/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f499f261643a94829ab5cff93fdc6a48adb8ebee8b2b63413b7875a18443b548/python/cpython/issues/61540 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f499f261643a94829ab5cff93fdc6a48adb8ebee8b2b63413b7875a18443b548/python/cpython/issues/61540 |
| og:image:alt | BPO 17338 Nosy @brettcannon, @rhettinger, @gpshead, @pitrou, @scoder, @vstinner, @giampaolo, @tiran, @benjaminp, @tpn, @alex, @asvetlov, @serhiy-storchaka Files preallocate.patchlistresize.py Note:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alex |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width