| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:e0b08d0f-dd2c-eb88-0a72-0b769aeeb6cb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D664:2C4BED:3DD4190:4E7D34D:6B020F80 |
| html-safe-nonce | 071e05ca0d8304f94cd9a4b36cbda9e5ef41535383095245a194af4f70f81982 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjY0OjJDNEJFRDozREQ0MTkwOjRFN0QzNEQ6NkIwMjBGODAiLCJ2aXNpdG9yX2lkIjoiNjc1MjkwNTA4OTA1NDI4MTYwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 93612c40c8001b3d962c638bf30a6375e95d4e2381bc1504f1cd0fe1d59a1de4 |
| hovercard-subject-tag | pull_request:4657283005 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/checks |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/8874/checks |
| twitter:image | https://opengraph.githubassets.com/23584435ddaf5458052d259b9a5bb4d2d657e62186b55df625b886f200d04339/RustPython/RustPython/pull/8874 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/23584435ddaf5458052d259b9a5bb4d2d657e62186b55df625b886f200d04339/RustPython/RustPython/pull/8874 |
| og:image:alt | This PR follows our AI policy.
Summary
Reserve entry and index capacity in the builtin dict.fromkeys for exact
dict, set or frozenset inputs, avoiding repeated vector growth and table
rebuilding.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 1ndahous3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/RustPython/RustPython/pull/8874/checks#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8874%2Fchecks |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8874%2Fchecks |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fchecks&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/8874/checks |
| Reload | https://github.com/RustPython/RustPython/pull/8874/checks |
| Reload | https://github.com/RustPython/RustPython/pull/8874/checks |
| RustPython | https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
| Code | https://github.com/RustPython/RustPython |
| Issues195 (195) | https://github.com/RustPython/RustPython/issues |
| Pull requests133 (133) | https://github.com/RustPython/RustPython/pulls |
| Discussions | https://github.com/RustPython/RustPython/discussions |
| Actions | https://github.com/RustPython/RustPython/actions |
| Projects | https://github.com/RustPython/RustPython/projects |
| Wiki | https://github.com/RustPython/RustPython/wiki |
| Security and quality | https://github.com/RustPython/RustPython/security |
| Insights | https://github.com/RustPython/RustPython/insights |
| https://github.com/RustPython/RustPython |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| 1ndahous3:dict_fromkeys_capacity | https://github.com/1ndahous3/RustPython/tree/dict_fromkeys_capacity |
| Conversation | https://github.com/RustPython/RustPython/pull/8874 |
| Commits1 (1) | https://github.com/RustPython/RustPython/pull/8874/commits |
| Checks | https://github.com/RustPython/RustPython/pull/8874/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/8874/files |
| Preallocate dictionary storage in dict.fromkeys | https://github.com/RustPython/RustPython/pull/8874/checks#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| 1ndahous3:dict_fromkeys_capacity | https://github.com/1ndahous3/RustPython/tree/dict_fromkeys_capacity |
| Please reload this page | https://github.com/RustPython/RustPython/pull/8874/checks |
| Sign in for the full log view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8874%2Fchecks |
|
Manage OSCCA pull requests
on: pull_request_target
| https://github.com/RustPython/RustPython/actions/runs/36356155109 |
|
Label and assign OSCCA pull request
| https://github.com/RustPython/RustPython/actions/runs/36356155109/job/108724182366?pr=8874 |
|
CodSpeed
on: pull_request
| https://github.com/RustPython/RustPython/actions/runs/36356155181 |
|
Run benchmarks
| https://github.com/RustPython/RustPython/actions/runs/36356155181/job/108724181896?pr=8874 |
|
pyperformance
on: pull_request
| https://github.com/RustPython/RustPython/actions/runs/36356155186 |
|
base vs. head vs. CPython
| https://github.com/RustPython/RustPython/actions/runs/36356155186/job/108724182532?pr=8874 |
|
CI
on: pull_request
| https://github.com/RustPython/RustPython/actions/runs/36356155194 |
|
Determine changes
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724182446?pr=8874 |
|
Run snippets and cpython tests (macos-latest)
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724182323?pr=8874 |
|
Run snippets and cpython tests (ubuntu-latest)
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724182226?pr=8874 |
|
Run snippets and cpython tests (windows-2025)
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724182381?pr=8874 |
|
Lint
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724182315?pr=8874 |
|
Run rust tests (macos-latest)
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675478?pr=8874 |
|
Run rust tests (ubuntu-latest)
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675366?pr=8874 |
|
Run rust tests (windows-2025)
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675524?pr=8874 |
|
cargo check (${{ matrix.os }}, ${{ matrix.target }})
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724676152?pr=8874 |
|
clippy (ubuntu-latest)
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675400?pr=8874 |
|
clippy (${{ matrix.os }})
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724676011?pr=8874 |
|
cargo shear
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675391?pr=8874 |
|
Run tests under miri
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675353?pr=8874 |
|
Check the WASM package and demo
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675436?pr=8874 |
|
Run snippets and cpython tests on wasm-wasi
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675417?pr=8874 |
|
cargo doc
| https://github.com/RustPython/RustPython/actions/runs/36356155194/job/108724675406?pr=8874 |
|
zizmor
| https://github.com/RustPython/RustPython/pull/8874/checks?check_run_id=108725028447 |
|
CodSpeed Performance Analysis
| https://github.com/RustPython/RustPython/pull/8874/checks?check_run_id=108728314822 |
|
.github/workflows/oscca-pr.yml#L1
| https://github.com/RustPython/RustPython/actions/runs/36356155109/workflow |
| https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target | https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |