René's URL Explorer Experiment


Title: [std]: Use XXHash32 instead FNV-1a by MaxGraey · Pull Request #1580 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: [std]: Use XXHash32 instead FNV-1a by MaxGraey · Pull Request #1580 · AssemblyScript/assemblyscript

X Title: [std]: Use XXHash32 instead FNV-1a by MaxGraey · Pull Request #1580 · AssemblyScript/assemblyscript

Description: 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 hash table slots) without degradation Bad avalanche effect Speed: 4.5 cyclers per byte XXHash: Excellent uniform distribution Near-perfect avalanche effect Speed: ~1.7 cyclers per byte string perf tests u64 hash tests old u64 hash (fnv-1a): 281.68000001460314 ms new u64 hash (xxhash): 189.05499996617436 ms I've read the contributing guidelines

Open Graph Description: 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...

X Description: 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 ^ 1...

Opengraph URL: https://github.com/AssemblyScript/assemblyscript/pull/1580

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:4dc19cfd-74f5-e927-38ce-6779d43dc993
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCE78:2279A:62CC8:8343F:6B00949F
html-safe-nonce569479273a92214800d1bc71c15de52c54f052ac8aae18bd415117e50adb420e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTc4OjIyNzlBOjYyQ0M4OjgzNDNGOjZCMDA5NDlGIiwidmlzaXRvcl9pZCI6IjYwNTE2OTgyNzg2NTM3OTM0MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc15583ecc8709d6eb9be946feb2c5d0e5789e182ecb22607ad8053089fac4c03
hovercard-subject-tagpull_request:539614208
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/AssemblyScript/assemblyscript/pull/1580/files
twitter:imagehttps://avatars.githubusercontent.com/u/1301959?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1301959?s=400&v=4
og:image:altXXHash32 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None552480023d6963d7f188d82f8cd5f3fe5046244607d769b794462821d9ea1b29
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git
octolytics-dimension-user_id28916798
octolytics-dimension-user_loginAssemblyScript
octolytics-dimension-repository_id105138356
octolytics-dimension-repository_nwoAssemblyScript/assemblyscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id105138356
octolytics-dimension-repository_network_root_nwoAssemblyScript/assemblyscript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecaf54e38b10face642f6cc1c79e4562e7ee52e3c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AssemblyScript/assemblyscript/pull/1580/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1580%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1580%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1580/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1580/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1580/files
AssemblyScripthttps://github.com/AssemblyScript
assemblyscripthttps://github.com/AssemblyScript/assemblyscript
Codehttps://github.com/AssemblyScript/assemblyscript
Issues196 (196)https://github.com/AssemblyScript/assemblyscript/issues
Pull requests24 (24)https://github.com/AssemblyScript/assemblyscript/pulls
Actionshttps://github.com/AssemblyScript/assemblyscript/actions
Wikihttps://github.com/AssemblyScript/assemblyscript/wiki
Security and qualityhttps://github.com/AssemblyScript/assemblyscript/security
Insightshttps://github.com/AssemblyScript/assemblyscript/insights
Sign up for GitHub https://github.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
dcodeIOhttps://github.com/dcodeIO
AssemblyScript:masterhttps://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 pagehttps://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 pagehttps://github.com/AssemblyScript/assemblyscript/pull/1580/files
Please reload this pagehttps://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.tshttps://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 pagehttps://github.com/AssemblyScript/assemblyscript/pull/1580/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.