| 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:e1f7f399-c988-3ee8-6d25-fceff15c65e5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 868A:1B6970:6319BB:87A9C6:6B0076FA |
| html-safe-nonce | df234414427b0c6d0be95c588a060aafeb8528d384dda1321e5297e58336a377 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjhBOjFCNjk3MDo2MzE5QkI6ODdBOUM2OjZCMDA3NkZBIiwidmlzaXRvcl9pZCI6IjEyMTI2NDU4NTcwMzYzNjc2MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 47c0aa3f3b10d2a5df00ae45487aa1fe512134f1dcb68c3f0b37a035ceffc54d |
| hovercard-subject-tag | pull_request:4017973152 |
| 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/3033/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/68425c8daa7b5cfb168e6edff76e91751af9446b798d2e386c2748217a389c3b/AssemblyScript/assemblyscript/pull/3033 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/68425c8daa7b5cfb168e6edff76e91751af9446b798d2e386c2748217a389c3b/AssemblyScript/assemblyscript/pull/3033 |
| og:image:alt | floorDiv(year, 400) -> floorDiv(floorDiv(year, 100), 4)
Since arithmetic shift year >> 2 is equal to floorDiv(year, 4):
century = floorDiv(year, 100)
floorDiv(century, 4) -> centur... |
| 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 | 75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16 |
| 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 | 84e563eb4b55f8fa102f325f117533cee9e3df4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/AssemblyScript/assemblyscript/pull/3033#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F3033 |
| 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%2F3033 |
| 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/3033 |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| Reload | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| 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:main | https://github.com/AssemblyScript/assemblyscript/tree/main |
| MaxGraey:date-perf | https://github.com/MaxGraey/assemblyscript/tree/date-perf |
| Conversation | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| Commits4 (4) | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits |
| Checks | https://github.com/AssemblyScript/assemblyscript/pull/3033/checks |
| Files changed | https://github.com/AssemblyScript/assemblyscript/pull/3033/files |
| fix: optimize dayOfWeek & dateFromEpoch routines in date | https://github.com/AssemblyScript/assemblyscript/pull/3033#top |
| MaxGraey | https://github.com/MaxGraey |
| AssemblyScript:main | https://github.com/AssemblyScript/assemblyscript/tree/main |
| MaxGraey:date-perf | https://github.com/MaxGraey/assemblyscript/tree/date-perf |
|
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| Jul 8, 2026 | https://github.com/AssemblyScript/assemblyscript/pull/3033#issue-4841570358 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| 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 |
| Jul 8, 2026 | https://github.com/AssemblyScript/assemblyscript/pull/3033#event-27738891870 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| CountBleck | https://github.com/CountBleck |
| dcodeIO | https://github.com/dcodeIO |
| July 8, 2026 22:31 | https://github.com/AssemblyScript/assemblyscript/pull/3033#event-27738899860 |
|
| https://github.com/MaxGraey |
| fix: speedup dayOfWeek | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/10c288b18996c8d65b8fcdae06ed1dd2c397cf19 |
| 10c288b | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/10c288b18996c8d65b8fcdae06ed1dd2c397cf19 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| force-pushed | https://github.com/AssemblyScript/assemblyscript/compare/a600873a6dbabd680fe0a9d0fa9d16dae06e2cf5..10c288b18996c8d65b8fcdae06ed1dd2c397cf19 |
| a600873 | https://github.com/AssemblyScript/assemblyscript/commit/a600873a6dbabd680fe0a9d0fa9d16dae06e2cf5 |
| 10c288b | https://github.com/AssemblyScript/assemblyscript/commit/10c288b18996c8d65b8fcdae06ed1dd2c397cf19 |
|
Compare
| https://github.com/AssemblyScript/assemblyscript/compare/a600873a6dbabd680fe0a9d0fa9d16dae06e2cf5..10c288b18996c8d65b8fcdae06ed1dd2c397cf19 |
| July 8, 2026 22:48 | https://github.com/AssemblyScript/assemblyscript/pull/3033#event-27739319957 |
| https://github.com/CountBleck |
| CountBleck | https://github.com/CountBleck |
|
Jul 9, 2026
| https://github.com/AssemblyScript/assemblyscript/pull/3033#pullrequestreview-4658811174 |
|
View reviewed changes
| https://github.com/AssemblyScript/assemblyscript/pull/3033/files/10c288b18996c8d65b8fcdae06ed1dd2c397cf19 |
| std/assembly/date.ts | https://github.com/AssemblyScript/assemblyscript/pull/3033/files/10c288b18996c8d65b8fcdae06ed1dd2c397cf19#diff-582211daa67f78e6ed1e01bc4f1ee745bf69e6c5cf22dfc469a059fcb485d702 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| MaxGraey | https://github.com/MaxGraey |
| July 9, 2026 03:31 | https://github.com/AssemblyScript/assemblyscript/pull/3033#commits-pushed-34f5d5d |
|
| https://github.com/MaxGraey |
| refaxctor | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/34f5d5dc7d68b095f9d086169143cdd010f8d720 |
| 34f5d5d | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/34f5d5dc7d68b095f9d086169143cdd010f8d720 |
|
| https://github.com/MaxGraey |
| refactor more (nfc) | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/9893245a71e274f06198f51b214a35e4a50f94ce |
| 9893245 | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/9893245a71e274f06198f51b214a35e4a50f94ce |
|
| https://github.com/MaxGraey |
| branchless dateFromEpoch | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/fc90317564c4b33af5f0be368f4faeeeef6653ee |
| fc90317 | https://github.com/AssemblyScript/assemblyscript/pull/3033/commits/fc90317564c4b33af5f0be368f4faeeeef6653ee |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| Jul 9, 2026 | https://github.com/AssemblyScript/assemblyscript/pull/3033#event-27773856043 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| 9ca63f2 | https://github.com/AssemblyScript/assemblyscript/commit/9ca63f2ff046258afbf360d7bc147665882f8258 |
| Jul 21, 2026 | https://github.com/AssemblyScript/assemblyscript/pull/3033#event-28279022436 |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| https://github.com/MaxGraey |
| MaxGraey | https://github.com/MaxGraey |
| July 21, 2026 15:58 | https://github.com/AssemblyScript/assemblyscript/pull/3033#event-28279027530 |
| https://github.com/KKiiim |
| KKiiim | https://github.com/KKiiim |
|
Nov 10, 2026
| https://github.com/AssemblyScript/assemblyscript/pull/3033#ref-pullrequest-6303286081 |
|
chore(as): sync Assemblyscript mainline
wasm-ecosystem/warpo#695
| https://github.com/wasm-ecosystem/warpo/pull/695 |
| KKiiim | https://github.com/KKiiim |
|
Nov 10, 2026
| https://github.com/AssemblyScript/assemblyscript/pull/3033#ref-commit-d705d3f |
|
| https://github.com/KKiiim |
| chore(as): sync Assemblyscript mainline ( | https://github.com/wasm-ecosystem/warpo/commit/d705d3f0958b199f4fbe27c09e34f9b47c05dc4d |
| #695 | https://github.com/wasm-ecosystem/warpo/pull/695 |
| ) | https://github.com/wasm-ecosystem/warpo/commit/d705d3f0958b199f4fbe27c09e34f9b47c05dc4d |
| d705d3f | https://github.com/wasm-ecosystem/warpo/commit/d705d3f0958b199f4fbe27c09e34f9b47c05dc4d |
| AssemblyScript/assemblyscript#3033 | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
| AssemblyScript/assemblyscript#3002 | https://github.com/AssemblyScript/assemblyscript/pull/3002 |
| AssemblyScript/assemblyscript#3017 | https://github.com/AssemblyScript/assemblyscript/pull/3017 |
| 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%2F3033 |
|
| https://github.com/CountBleck |
|
CountBleck
| https://github.com/CountBleck |
|
| https://github.com/AssemblyScript/assemblyscript/pull/3033/files/10c288b18996c8d65b8fcdae06ed1dd2c397cf19 |
|
| https://github.com/dcodeIO |
|
dcodeIO
| https://github.com/dcodeIO |
| Please reload this page | https://github.com/AssemblyScript/assemblyscript/pull/3033 |
|
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/3033 |
|
| https://github.com/MaxGraey |
|
| https://github.com/CountBleck |
|
| 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 |