| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4dc19cfd-74f5-e927-38ce-6779d43dc993 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE78:2279A:62CC8:8343F:6B00949F |
| html-safe-nonce | 569479273a92214800d1bc71c15de52c54f052ac8aae18bd415117e50adb420e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTc4OjIyNzlBOjYyQ0M4OjgzNDNGOjZCMDA5NDlGIiwidmlzaXRvcl9pZCI6IjYwNTE2OTgyNzg2NTM3OTM0MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c15583ecc8709d6eb9be946feb2c5d0e5789e182ecb22607ad8053089fac4c03 |
| hovercard-subject-tag | pull_request:539614208 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
| twitter:image | https://avatars.githubusercontent.com/u/1301959?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1301959?s=400&v=4 |
| og:image:alt | XXHash32 has better quality and speed (especially for 32-bit, 64-bit and >= 16 bytes keys).
FNV-1a:
Poor uniform distribution. Only up to 14 bits can be used for the hash table (up to 2 ^ 14 ha... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 552480023d6963d7f188d82f8cd5f3fe5046244607d769b794462821d9ea1b29 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | caf54e38b10face642f6cc1c79e4562e7ee52e3c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/AssemblyScript/assemblyscript/pull/1580/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1580%2Ffiles |
| 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%2F1580%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose |
| dcodeIO | https://github.com/dcodeIO |
| AssemblyScript:master | https://github.com/AssemblyScript/assemblyscript/tree/master |
|
Conversation
4
| https://github.com/AssemblyScript/assemblyscript/pull/1580 |
|
Commits
16
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits |
|
Checks
0
| https://github.com/AssemblyScript/assemblyscript/pull/1580/checks |
|
Files changed
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
|
[std]: Use XXHash32 instead FNV-1a
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#top |
|
Show all changes
16 commits
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
|
45e89f1
use XXHash32 instead FNV-1a
MaxGraey Dec 14, 2020
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/45e89f19e53974f47d7678fcf31826823ead15e4 |
|
bc8b450
simplify. Add more tests
MaxGraey Dec 14, 2020
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/bc8b45064d247fd018aa1fccf4b8108240802e77 |
|
51765ca
refactor
MaxGraey Dec 14, 2020
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/51765ca6faa32dff989f436e26091a2ccd725d35 |
|
2faee48
refactor. Also take into account size of input
MaxGraey Dec 14, 2020
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/2faee48d1c13ebca8e6cecddea67b0420f0e9479 |
|
bb08100
Merge branch 'master' into xxhash
MaxGraey Dec 18, 2020
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/bb081002ec040db9cbbd4c0ce4215494dcf3e488 |
|
93b68bd
update fixtures
MaxGraey Dec 18, 2020
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/93b68bd8c7ba78f53f3ce8b41e892c1efc4c39fc |
|
ecbc93f
Merge branch 'master' into xxhash
MaxGraey Feb 6, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/ecbc93fd6addd44530515a785f6c60040514d41e |
|
cd308a4
update
MaxGraey Feb 6, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/cd308a4250bd4cc39f1270e077601bfde641400a |
|
12ce5b2
fix
MaxGraey Feb 6, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/12ce5b2e3da3cb2a293a66b48b5fe8fd5a0680d3 |
|
ceb6d09
final fix
MaxGraey Feb 6, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/ceb6d091c2aac82818aad05875b3c91fe9956fd6 |
|
cdafa53
refactor
MaxGraey Feb 6, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/cdafa534215882409a425593b914f26c5bda62d3 |
|
f3a4db4
refactor again
MaxGraey Feb 6, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/f3a4db4082769b42274be37b83223b7da32fbe84 |
|
31c7138
remove space
MaxGraey Feb 6, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/31c7138c8d29f5863d9fef561320e948a8cfbb29 |
|
6af03ca
fix
MaxGraey Feb 7, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/6af03ca39f13bb5e6b49df672788ca752f74a390 |
|
834278c
Update std/assembly/util/hash.ts
MaxGraey Feb 7, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/834278c15e0e9068e94df09e40253a10ddf1ea63 |
|
462343c
update
MaxGraey Feb 7, 2021
| https://github.com/AssemblyScript/assemblyscript/pull/1580/commits/462343ccd1f63b193e7dbfae447d18b26ba99b93 |
|
Clear filters
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
|
hash.ts
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-371ec014612d9d7821e4fd0c13dec2fc5224ae67ead764d49332c7431b14e753 |
|
hash.optimized.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-62440dea074432209c36eff2726123b818cb0a71c81b1549f6097a2a5e5933a0 |
|
hash.ts
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-5af7513a00766018a3d4b2cf9bb6c3ec62aa11d8914d87610142f4246593a510 |
|
hash.untouched.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-73ed384bd5d64d430de06e6affdaff5a00bccb4131bae3cd6b15206715566613 |
|
map.optimized.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-3498b8e4e927e8f20db5751efa502487aeb9b0a35081bb1a6996ee9a39f8bea9 |
|
map.untouched.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-efe9e93e7fa1b17c424b087f98d5b1255020433dcd26c1f3d52760a1672bef5c |
|
set.optimized.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-fe7f25e125d0c4faaacbea93555d65df366622efae7b96e95c30bd8294545f53 |
|
set.untouched.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-d312874d29ea7acb2147e7d7b6fa9e50b8653f2547465eec1389129b25bd63cb |
|
symbol.optimized.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-a24facb9836cc67cd8a5506006e5c02e933ad505058904996f52776af73e577a |
|
symbol.untouched.wat
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-de85856b72a51361cd44494285f5b939dc40006a2f7c1bf054a9ab4bf987114e |
| std/assembly/util/hash.ts | https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-371ec014612d9d7821e4fd0c13dec2fc5224ae67ead764d49332c7431b14e753 |
|
View file
| https://github.com/AssemblyScript/assemblyscript/blob/462343ccd1f63b193e7dbfae447d18b26ba99b93/std/assembly/util/hash.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/assemblyscript/pull/1580/{{ revealButtonHref }} |
|
| https://github.com/AssemblyScript/assemblyscript/pull/1580/files#diff-371ec014612d9d7821e4fd0c13dec2fc5224ae67ead764d49332c7431b14e753 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/1580/files |
|
| 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 |