Title: Remove usage of std::vector and getArguments from getTokenArgumentFunction by Ken-Patrick · Pull Request #3435 · cppcheck-opensource/cppcheck · GitHub
Open Graph Title: Remove usage of std::vector and getArguments from getTokenArgumentFunction by Ken-Patrick · Pull Request #3435 · cppcheck-opensource/cppcheck
X Title: Remove usage of std::vector and getArguments from getTokenArgumentFunction by Ken-Patrick · Pull Request #3435 · cppcheck-opensource/cppcheck
Description: getTokenArgumentFunction can be called many many times, and the vector is not needed, but it can become quite costly. This patch replaces getArguments with a function simply returning the position of the token, if it is found in the arguments (thus saving the cost of std::vector).
Open Graph Description: getTokenArgumentFunction can be called many many times, and the vector is not needed, but it can become quite costly. This patch replaces getArguments with a function simply returning the position ...
X Description: getTokenArgumentFunction can be called many many times, and the vector is not needed, but it can become quite costly. This patch replaces getArguments with a function simply returning the position ...
Opengraph URL: https://github.com/cppcheck-opensource/cppcheck/pull/3435
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:7c6b588a-45da-5c2a-db0e-4561da9df080 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E7B4:9BDE:54B2E73:763CFCF:6A510917 |
| html-safe-nonce | d25a4a328ba5a48a524fc34b79c2a846baad5a35f224c28ca54d717eba2cb621 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0I0OjlCREU6NTRCMkU3Mzo3NjNDRkNGOjZBNTEwOTE3IiwidmlzaXRvcl9pZCI6IjE1OTgzOTUxODc5MTQxNDgxMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | af0ec43aac10da6f5b3c5086248df0de1ac451f1945219301488298d780bcb3a |
| hovercard-subject-tag | pull_request:723827346 |
| 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/cppcheck-opensource/cppcheck/pull/3435/files |
| twitter:image | https://avatars.githubusercontent.com/u/26419077?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/26419077?s=400&v=4 |
| og:image:alt | getTokenArgumentFunction can be called many many times, and the vector is not needed, but it can become quite costly. This patch replaces getArguments with a function simply returning the position ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/cppcheck-opensource/cppcheck git https://github.com/cppcheck-opensource/cppcheck.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 143131 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/cppcheck |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 143131 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/cppcheck |
| 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 | 2d129404fc45ea64edb1b98567c53e55b395536f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width