Title: Invoke attribute command performance improvements by wrongsell · Pull Request #149 · RocketModFix/RocketModFix · GitHub
Open Graph Title: Invoke attribute command performance improvements by wrongsell · Pull Request #149 · RocketModFix/RocketModFix
X Title: Invoke attribute command performance improvements by wrongsell · Pull Request #149 · RocketModFix/RocketModFix
Description: Previously, the command signature was determined and the method was called at execution time, using reflection for the call (MethodInfo.Invoke). Now, when registering a command, we check the signature to avoid unnecessary methods and detect errors during the command registration process. We also create a delegate instead of invoking it via reflection, significantly speeding up command invocation. Previously, there was support for different command signatures registered via an attribute, but I've decided to remove this from the current implementation, as I don't consider such variability a good practice and recommend using a generally accepted standard.
Open Graph Description: Previously, the command signature was determined and the method was called at execution time, using reflection for the call (MethodInfo.Invoke). Now, when registering a command, we check the signat...
X Description: Previously, the command signature was determined and the method was called at execution time, using reflection for the call (MethodInfo.Invoke). Now, when registering a command, we check the signat...
Opengraph URL: https://github.com/RocketModFix/RocketModFix/pull/149
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f4f9d3f5-085a-2e69-f418-e3d2dc51c0f1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE92:1AB322:3223C2:42E102:698E2DA6 |
| html-safe-nonce | 5bf8b15fc35a5e289dfeb46552af14e15689f5b52a4f6f18bc701ad4788e2aef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTkyOjFBQjMyMjozMjIzQzI6NDJFMTAyOjY5OEUyREE2IiwidmlzaXRvcl9pZCI6IjgyMDAzMzg1MzEyNTc1NjA0ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9160f46fb7e744f19598369333f7639bb535785fa68c75b495cfe1ee674c195b |
| hovercard-subject-tag | pull_request:2992450029 |
| 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/RocketModFix/RocketModFix/pull/149/files |
| twitter:image | https://avatars.githubusercontent.com/u/84908244?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/84908244?s=400&v=4 |
| og:image:alt | Previously, the command signature was determined and the method was called at execution time, using reflection for the call (MethodInfo.Invoke). Now, when registering a command, we check the signat... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a5632af64f7fed7bff1d6a428d1aca1b94fa7a48f760de2d39d9b1effdbf0082 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RocketModFix/RocketModFix git https://github.com/RocketModFix/RocketModFix.git |
| octolytics-dimension-user_id | 148712015 |
| octolytics-dimension-user_login | RocketModFix |
| octolytics-dimension-repository_id | 708477287 |
| octolytics-dimension-repository_nwo | RocketModFix/RocketModFix |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 259763703 |
| octolytics-dimension-repository_parent_nwo | SmartlyDressedGames/Legally-Distinct-Missile |
| octolytics-dimension-repository_network_root_id | 259763703 |
| octolytics-dimension-repository_network_root_nwo | SmartlyDressedGames/Legally-Distinct-Missile |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | df1885ca022c7c5634d3a31e5a91e6a35990d0b7 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width