Title: perf: use interned name in `generic_getattr_opt` by sharifhsn · Pull Request #8129 · RustPython/RustPython · GitHub
Open Graph Title: perf: use interned name in `generic_getattr_opt` by sharifhsn · Pull Request #8129 · RustPython/RustPython
X Title: perf: use interned name in `generic_getattr_opt` by sharifhsn · Pull Request #8129 · RustPython/RustPython
Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
Open Graph Description: Closes #xxxx This PR follows our AI policy Summary generic_getattr_opt looked up the instance dict by name_str.as_wtf8(), which required recomputing the SipHash from the raw bytes on every attr...
X Description: Closes #xxxx This PR follows our AI policy Summary generic_getattr_opt looked up the instance dict by name_str.as_wtf8(), which required recomputing the SipHash from the raw bytes on every attr...
Opengraph URL: https://github.com/RustPython/RustPython/pull/8129
X: @github
Domain: Github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:17670240-2f92-5e64-9bba-8b600bf06d58 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B288:1AC9BC:232F1AF:3033562:6A631056 |
| html-safe-nonce | d8240f12292afa888ec092551be0ee482878d47cf43f08868cc4e6acee33eb22 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjg4OjFBQzlCQzoyMzJGMUFGOjMwMzM1NjI6NkE2MzEwNTYiLCJ2aXNpdG9yX2lkIjoiMzcwNTYyNjk0MzU4MzA5NjkxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f4000f6c85125e494d46fab29cd6191de57f32f917b17c2239922151e7efcae2 |
| hovercard-subject-tag | pull_request:3887869717 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/RustPython/RustPython/8129/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6a488f23b18b8ac0f6807705c9167a969e60c2a72dcf14f901489114251fdadd/RustPython/RustPython/pull/8129 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a488f23b18b8ac0f6807705c9167a969e60c2a72dcf14f901489114251fdadd/RustPython/RustPython/pull/8129 |
| og:image:alt | Closes #xxxx This PR follows our AI policy Summary generic_getattr_opt looked up the instance dict by name_str.as_wtf8(), which required recomputing the SipHash from the raw bytes on every attr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sharifhsn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 1a6c056e02f174fffc096c521ec0ff6fb83e40a2ec8cb8875466ec1524872dd6 |
| 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 | 6a93e25585f487ddff9e3996c06d5b869d6e1828 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width