| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:0ccadd10-9d28-f5be-c9a2-97915e2684b8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE28:FA1B4:7E9449:AE8689:6B009E1E |
| html-safe-nonce | 4c304b9565576379fc03f361818b13226d73ed64b6ee45376b3d0693fa439a5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTI4OkZBMUI0OjdFOTQ0OTpBRTg2ODk6NkIwMDlFMUUiLCJ2aXNpdG9yX2lkIjoiNzgyMTA3NTA4NjM0MDgyNDYwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 64625ad7b3bb4efa0a1e95f0a1eedb9366d1d975d59bcb503b7667ecf2187859 |
| hovercard-subject-tag | pull_request:539068449 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/AssemblyScript/assemblyscript/1579/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/6506ed213841d77367d937e18a0bf8465e6c941ee5577d04ff90fc6946136c98/AssemblyScript/assemblyscript/pull/1579 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6506ed213841d77367d937e18a0bf8465e6c941ee5577d04ff90fc6946136c98/AssemblyScript/assemblyscript/pull/1579 |
| og:image:alt | Benchmark:
old str hash: 221.40000015497208 ms
new str hash: 186.04000005871058 ms
playground
I've read the contributing guidelines |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MaxGraey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8 |
| turbo-cache-control | no-cache |
| go-import | github.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git |
| octolytics-dimension-user_id | 28916798 |
| octolytics-dimension-user_login | AssemblyScript |
| octolytics-dimension-repository_id | 105138356 |
| octolytics-dimension-repository_nwo | AssemblyScript/assemblyscript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 105138356 |
| octolytics-dimension-repository_network_root_nwo | AssemblyScript/assemblyscript |
| 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 | 1c9ddec8215f9a94e295c8310c3579b9c54ba31a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/AssemblyScript/assemblyscript/pull/1579#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1579 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1579 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| AssemblyScript | https://github.com/AssemblyScript |
| assemblyscript | https://github.com/AssemblyScript/assemblyscript |
| Code | https://github.com/AssemblyScript/assemblyscript |
| Issues196 (196) | https://github.com/AssemblyScript/assemblyscript/issues |
| Pull requests24 (24) | https://github.com/AssemblyScript/assemblyscript/pulls |
| Actions | https://github.com/AssemblyScript/assemblyscript/actions |
| Wiki | https://github.com/AssemblyScript/assemblyscript/wiki |
| Security and quality | https://github.com/AssemblyScript/assemblyscript/security |
| Insights | https://github.com/AssemblyScript/assemblyscript/insights |
| https://github.com/AssemblyScript/assemblyscript |
| MaxGraey | https://github.com/MaxGraey |
| AssemblyScript:master | https://github.com/AssemblyScript/assemblyscript/tree/master |
| Conversation | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| Commits3 (3) | https://github.com/AssemblyScript/assemblyscript/pull/1579/commits |
| Checks | https://github.com/AssemblyScript/assemblyscript/pull/1579/checks |
| Files changed | https://github.com/AssemblyScript/assemblyscript/pull/1579/files |
| [std] Improve string hashing | https://github.com/AssemblyScript/assemblyscript/pull/1579#top |
| MaxGraey | https://github.com/MaxGraey |
| AssemblyScript:master | https://github.com/AssemblyScript/assemblyscript/tree/master |
|
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| Dec 14, 2020 | https://github.com/AssemblyScript/assemblyscript/pull/1579#issue-765758125 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| playground | https://www.assemblyscript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JtYW5jZS5ub3coKTsKICAgIGV4cG9ydHMuYmVuY2hPbGQoKTsKICAgIHQgPSBwZXJmb3JtYW5jZS5ub3coKSAtIHQ7CiAgICBvdXRwdXQudmFsdWUgKz0gJ29sZCBzdHIgaGFzaDogJyArIHQgKyAnIG1zXG4nOwoKICAgIHQgPSBwZXJmb3JtYW5jZS5ub3coKTsKICAgIGV4cG9ydHMuYmVuY2hOZXcoKTsKICAgIHQgPSBwZXJmb3JtYW5jZS5ub3coKSAtIHQ7CiAgICBvdXRwdXQudmFsdWUgKz0gJ25ldyBzdHIgaGFzaDogJyArIHQgKyAnIG1zJzsKICB9KQo8L3NjcmlwdD4= |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
|
| https://github.com/MaxGraey |
| improve string hashing | https://github.com/AssemblyScript/assemblyscript/pull/1579/commits/09e622824417e2c1928282558bc05fd64ccab633 |
| 09e6228 | https://github.com/AssemblyScript/assemblyscript/pull/1579/commits/09e622824417e2c1928282558bc05fd64ccab633 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| dcodeIO | https://github.com/dcodeIO |
| December 14, 2020 01:25 | https://github.com/AssemblyScript/assemblyscript/pull/1579#event-4106733674 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
|
enhancement
| https://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3Aenhancement |
|
performance
| https://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3Aperformance |
|
standard library
| https://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22standard%20library%22 |
| Dec 14, 2020 | https://github.com/AssemblyScript/assemblyscript/pull/1579#event-4106734139 |
| MaxGraey | https://github.com/MaxGraey |
| December 14, 2020 03:31 | https://github.com/AssemblyScript/assemblyscript/pull/1579#commits-pushed-9b16011 |
|
| https://github.com/MaxGraey |
| fix comment | https://github.com/AssemblyScript/assemblyscript/pull/1579/commits/9b16011b81e747931785d08962900f43235816a6 |
| 9b16011 | https://github.com/AssemblyScript/assemblyscript/pull/1579/commits/9b16011b81e747931785d08962900f43235816a6 |
|
| https://github.com/MaxGraey |
| remove unnecessary ops in last branch | https://github.com/AssemblyScript/assemblyscript/pull/1579/commits/4a47a7ef4a186d172ac413106d3e9116b7fda5aa |
| 4a47a7e | https://github.com/AssemblyScript/assemblyscript/pull/1579/commits/4a47a7ef4a186d172ac413106d3e9116b7fda5aa |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| Dec 14, 2020 | https://github.com/AssemblyScript/assemblyscript/pull/1579#issuecomment-744146180 |
| https://github.com/Cyan4973/xxHash | https://github.com/Cyan4973/xxHash |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| https://github.com/dcodeIO |
| dcodeIO | https://github.com/dcodeIO |
| Dec 14, 2020 | https://github.com/AssemblyScript/assemblyscript/pull/1579#issuecomment-744167188 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| Dec 14, 2020 | https://github.com/AssemblyScript/assemblyscript/pull/1579#issuecomment-744565425 |
| #1580 | https://github.com/AssemblyScript/assemblyscript/pull/1580 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| Dec 14, 2020 | https://github.com/AssemblyScript/assemblyscript/pull/1579#event-4110259440 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| December 14, 2020 16:44 | https://github.com/AssemblyScript/assemblyscript/pull/1579#event-4110259918 |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/assemblyscript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1579 |
|
| https://github.com/dcodeIO |
|
dcodeIO
| https://github.com/dcodeIO |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
|
enhancement
| https://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3Aenhancement |
|
performance
| https://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3Aperformance |
|
standard library
| https://github.com/AssemblyScript/assemblyscript/issues?q=state%3Aopen%20label%3A%22standard%20library%22 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1579 |
|
| https://github.com/MaxGraey |
|
| https://github.com/dcodeIO |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |