Title: assert: prefer reference comparison over string comparison · nodejs/node@3360103 · GitHub
Open Graph Title: assert: prefer reference comparison over string comparison · nodejs/node@3360103
X Title: assert: prefer reference comparison over string comparison · nodejs/node@3360103
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: Pointer comparison takes constant time and string comparison takes linear time unless there is some string interning going on, so this might be a little bit faster. Signed-off-by: Darshan Sen <...
X Description: Pointer comparison takes constant time and string comparison takes linear time unless there is some string interning going on, so this might be a little bit faster. Signed-off-by: Darshan Sen &...
Opengraph URL: /nodejs/node/commit/336010341f45fca34968c3bdc0d6074af2d478a3
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:46ce1796-ff8f-794c-3e99-184214cb5ce4 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D3F8:29FAD7:4A86A7:686781:696A74EC |
| html-safe-nonce | f018d20a862c7f2c456abbcc3ccb56d0c4f27cc301a5dd9093658eab6f652eb7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0Y4OjI5RkFENzo0QTg2QTc6Njg2NzgxOjY5NkE3NEVDIiwidmlzaXRvcl9pZCI6IjM4MDI1MDcyODM5MTIwOTQ5NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5bf9f911678797410f78b38a6f3a34fc8a37ddc717d40656a29a3ff98aef7bbb |
| hovercard-subject-tag | repository:27193779 |
| github-keyboard-shortcuts | repository,commits,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/nodejs/node/commit/336010341f |
| twitter:image | https://opengraph.githubassets.com/28fa63e16bf9d25157bfe17915c1c4f9f2942e50c14c9d30585bf9359fa515a0/nodejs/node/commit/336010341f45fca34968c3bdc0d6074af2d478a3 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/28fa63e16bf9d25157bfe17915c1c4f9f2942e50c14c9d30585bf9359fa515a0/nodejs/node/commit/336010341f45fca34968c3bdc0d6074af2d478a3 |
| og:image:alt | Pointer comparison takes constant time and string comparison takes linear time unless there is some string interning going on, so this might be a little bit faster. Signed-off-by: Darshan Sen <... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1643690787 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| 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 | 6a0b6893c221f98f607598e939299fdf5763435d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width