Title: Implement copyslot by youknowone · Pull Request #6505 · RustPython/RustPython · GitHub
Open Graph Title: Implement copyslot by youknowone · Pull Request #6505 · RustPython/RustPython
X Title: Implement copyslot by youknowone · Pull Request #6505 · RustPython/RustPython
Description: Benchmark OLD NEW Speedup fannkuch 1.56s 1.50s +4% nbody 0.15s 0.14s +7% pystone 0.88s 0.85s +3% Summary by CodeRabbit Refactor Optimized method slot resolution by replacing dynamic inheritance chain traversals with direct class slot access across core protocol systems. Restructured sequence and mapping protocol methods from static method references to dynamic slot-based access. Streamlined internal protocol method dispatch mechanisms. Bug Fixes Enforced stricter type validation for __str__ and __bool__ special methods to prevent returning incorrect types. ✏️ Tip: You can customize this high-level summary in your review settings.
Open Graph Description: Benchmark OLD NEW Speedup fannkuch 1.56s 1.50s +4% nbody 0.15s 0.14s +7% pystone 0.88s 0.85s +3% Summary by CodeRabbit Refactor Optimized method slot resolution by replacing dynamic ...
X Description: Benchmark OLD NEW Speedup fannkuch 1.56s 1.50s +4% nbody 0.15s 0.14s +7% pystone 0.88s 0.85s +3% Summary by CodeRabbit Refactor Optimized method slot resolution by replacing dynamic ...
Opengraph URL: https://github.com/RustPython/RustPython/pull/6505
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:215787a5-c991-acb8-40e6-f9ee6e8e9cf8 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8B58:2A0D62:1DB1B55:28C0852:696ABD3F |
| html-safe-nonce | a3889c8b2df65f3650c94ea424a4e3740d4e9d2a3679b394a4f1be69407e5469 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjU4OjJBMEQ2MjoxREIxQjU1OjI4QzA4NTI6Njk2QUJEM0YiLCJ2aXNpdG9yX2lkIjoiNjg2MTM2NDc5MDA1MTkxMzAyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 728f05ba0b31417db04251dd08702f9d7cddf4275f1f9a45241564ac8f7248d9 |
| hovercard-subject-tag | pull_request:3129398655 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/6505/checks |
| twitter:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/69878?s=400&v=4 |
| og:image:alt | Benchmark OLD NEW Speedup fannkuch 1.56s 1.50s +4% nbody 0.15s 0.14s +7% pystone 0.88s 0.85s +3% Summary by CodeRabbit Refactor Optimized method slot resolution by replacing dynamic ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width