Title: Avoid string allocation/free traffic in assert_in_bounds() by ishani · Pull Request #1433 · hsutter/cppfront · GitHub
Open Graph Title: Avoid string allocation/free traffic in assert_in_bounds() by ishani · Pull Request #1433 · hsutter/cppfront
X Title: Avoid string allocation/free traffic in assert_in_bounds() by ishani · Pull Request #1433 · hsutter/cppfront
Description: Move the construction of the OOB violation string to after the OOB check fails so that the code is not allocating, concatenating and freeing strings that are never used in regular operation. The ch...
Open Graph Description: Move the construction of the OOB violation string to after the OOB check fails so that the code is not allocating, concatenating and freeing strings that are never used in regular operation. The ch...
X Description: Move the construction of the OOB violation string to after the OOB check fails so that the code is not allocating, concatenating and freeing strings that are never used in regular operation. The ch...
Opengraph URL: https://github.com/hsutter/cppfront/pull/1433
X: @github
Domain: patch-diff.githubusercontent.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:c14861cb-5d3c-9298-3f35-168ae04e36a1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8F14:3B09EF:A0BEC0:CEA4D2:69741A7A |
| html-safe-nonce | 3ec6072899d3d498a305ac2e6b38bfa68f73bb5b5353db59948ac7ff7a208c29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjE0OjNCMDlFRjpBMEJFQzA6Q0VBNEQyOjY5NzQxQTdBIiwidmlzaXRvcl9pZCI6IjI2MjYzMzA4NTkyNzAzMTQ2MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 69d7873a355d20fee0b5805d9d0e1ec5ff70884d781a84efb9e14a75d0e387a9 |
| hovercard-subject-tag | pull_request:2938202959 |
| 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/hsutter/cppfront/1433/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1fbe1f90563ff6267e7b520aef728d161e7ff6eb6f8f10649555190b4364f582/hsutter/cppfront/pull/1433 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1fbe1f90563ff6267e7b520aef728d161e7ff6eb6f8f10649555190b4364f582/hsutter/cppfront/pull/1433 |
| og:image:alt | Move the construction of the OOB violation string to after the OOB check fails so that the code is not allocating, concatenating and freeing strings that are never used in regular operation. The ch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ishani |
| hostname | github.com |
| expected-hostname | github.com |
| None | 447dc9917c3d68d647a01abfdefe55ec7ee1785922136c1d8395dbb3ab6d57b9 |
| turbo-cache-control | no-preview |
| go-import | github.com/hsutter/cppfront git https://github.com/hsutter/cppfront.git |
| octolytics-dimension-user_id | 1801526 |
| octolytics-dimension-user_login | hsutter |
| octolytics-dimension-repository_id | 406923731 |
| octolytics-dimension-repository_nwo | hsutter/cppfront |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 406923731 |
| octolytics-dimension-repository_network_root_nwo | hsutter/cppfront |
| 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 | 8dad7bdfecbe3eaa97ac4e632d6b47e2b23e81d9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width