René's URL Explorer Experiment


Title: Common subexpression elimination · Issue #687 · purescript/purescript · GitHub

Open Graph Title: Common subexpression elimination · Issue #687 · purescript/purescript

X Title: Common subexpression elimination · Issue #687 · purescript/purescript

Description: This would need some thinking about, but it'd be really nice if we could improve the likes of this: var ap = function (__dict_Monad_14) { return function (f) { return function (a) { return $greater$greater$eq(__dict_Monad_14["__superclas...

Open Graph Description: This would need some thinking about, but it'd be really nice if we could improve the likes of this: var ap = function (__dict_Monad_14) { return function (f) { return function (a) { return $greater...

X Description: This would need some thinking about, but it'd be really nice if we could improve the likes of this: var ap = function (__dict_Monad_14) { return function (f) { return function (a) { return $gre...

Opengraph URL: https://github.com/purescript/purescript/issues/687

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Common subexpression elimination","articleBody":"This would need some thinking about, but it'd be really nice if we could improve the likes of this:\n\n``` js\nvar ap = function (__dict_Monad_14) {\n    return function (f) {\n        return function (a) {\n            return $greater$greater$eq(__dict_Monad_14[\"__superclass_Prelude.Bind_1\"]())(f)(function (_2) {\n                return $greater$greater$eq(__dict_Monad_14[\"__superclass_Prelude.Bind_1\"]())(a)(function (_1) {\n                    return $$return(__dict_Monad_14)(_2(_1));\n                });\n            });\n        };\n    };\n};\n```\n\ninto something like this:\n\n``` js\nvar ap = function (__dict_Monad_14) {\n    var __dict_Monad_14_Bind = __dict_Monad_14[\"__superclass_Prelude.Bind_1\"]()\n    var $greater$greater$eq_1 = $greater$greater$eq(__dict_Monad_14_Bind);\n    var $$return_1 = $$return(__dict_Monad_14);\n    return function (f) {\n        return function (a) {\n            return $greater$greater$eq_1(f)(function (_2) {\n                return $greater$greater$eq_1(a)(function (_1) {\n                    return $$return_1(_2(_1));\n                });\n            });\n        };\n    };\n};\n```\n\n(Essentially declaring all instance related members and superclass instances as local variables as soon as is possible.)\n\nApart from improving readability somewhat, using the local `$greater$greater$eq_1` over `$greater$greater$eq(__dict_Monad_14[\"__superclass_Prelude.Bind_1\"]())` everywhere should add up to a nice performance boost too. Most of optimisations I worked on for instances were to make constructing instances cheaper as they were the largest overhead, if we can reduce the number of constructions that's even better!\n","author":{"url":"https://github.com/garyb","@type":"Person","name":"garyb"},"datePublished":"2014-11-07T12:17:04Z","url":"https://github.com/purescript/purescript/issues/687"}

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/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d36a62b4-423e-857b-239f-e579219d7e74
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id99FC:29FFA9:3A73EF:4B67CE:6B00D2CC
html-safe-nonce1b62c51f7f96b4391cfbcad9507897942cae5285586a46f1e5084c6c91ef7761
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUZDOjI5RkZBOTozQTczRUY6NEI2N0NFOjZCMDBEMkNDIiwidmlzaXRvcl9pZCI6IjM4MjcwNDQ2NTk3MzQwNDEyOTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacead2bf7a721d51592ea961984015a4f2d2872723e5fd16f2a80690acc1cd9e93
hovercard-subject-tagissue:48075980
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript/purescript/687/issue_layout
twitter:imagehttps://opengraph.githubassets.com/dc87902afc60e90929e416ff28313110d9c8b934278cb93b4f1cd8225da1ccbc/purescript/purescript/issues/687
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dc87902afc60e90929e416ff28313110d9c8b934278cb93b4f1cd8225da1ccbc/purescript/purescript/issues/687
og:image:altThis would need some thinking about, but it'd be really nice if we could improve the likes of this: var ap = function (__dict_Monad_14) { return function (f) { return function (a) { return $greater...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegaryb
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
turbo-cache-controlno-preview
go-importgithub.com/purescript/purescript git https://github.com/purescript/purescript.git
octolytics-dimension-user_id6556677
octolytics-dimension-user_loginpurescript
octolytics-dimension-repository_id13206906
octolytics-dimension-repository_nwopurescript/purescript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13206906
octolytics-dimension-repository_network_root_nwopurescript/purescript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/purescript/purescript/issues/687#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript%2Fissues%2F687
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%2Fpurescript%2Fpurescript%2Fissues%2F687
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=purescript%2Fpurescript
Reloadhttps://github.com/purescript/purescript/issues/687
Reloadhttps://github.com/purescript/purescript/issues/687
Reloadhttps://github.com/purescript/purescript/issues/687
purescripthttps://github.com/purescript
purescripthttps://github.com/purescript/purescript
Codehttps://github.com/purescript/purescript
Issues280 (280)https://github.com/purescript/purescript/issues
Pull requests28 (28)https://github.com/purescript/purescript/pulls
Actionshttps://github.com/purescript/purescript/actions
Projectshttps://github.com/purescript/purescript/projects
Wikihttps://github.com/purescript/purescript/wiki
Security and qualityhttps://github.com/purescript/purescript/security
Insightshttps://github.com/purescript/purescript/insights
https://github.com/purescript/purescript
New issuehttps://github.com/login?return_to=https://github.com/purescript/purescript/issues/687
New issuehttps://github.com/login?return_to=https://github.com/purescript/purescript/issues/687
Common subexpression eliminationhttps://github.com/purescript/purescript/issues/687#top
codegenhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22codegen%22
optimizerhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22optimizer%22
type: enhancementhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22type%3A%20enhancement%22
Approvedhttps://github.com/purescript/purescript/milestone/5
https://github.com/garyb
garybhttps://github.com/garyb
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issue-48075980
Nexthttps://github.com/purescript/purescript/issues/687?timeline_page=1
garybhttps://github.com/garyb
codegenhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22codegen%22
optimizerhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22optimizer%22
type: enhancementhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22type%3A%20enhancement%22
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#event-189886554
garybhttps://github.com/garyb
Ideashttps://github.com/purescript/purescript/milestone/8
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#event-189886587
garybhttps://github.com/garyb
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#event-189887970
https://github.com/jdegoes
jdegoeshttps://github.com/jdegoes
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issuecomment-62163568
https://github.com/garyb
garybhttps://github.com/garyb
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issuecomment-62164128
garybhttps://github.com/garyb
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#event-189988198
https://github.com/garyb
garybhttps://github.com/garyb
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issuecomment-62164647
https://github.com/paf31
paf31https://github.com/paf31
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issuecomment-62166404
paf31https://github.com/paf31
0.7.0https://github.com/purescript/purescript/milestone/9
Ideashttps://github.com/purescript/purescript/milestone/8
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#event-189996753
https://github.com/garyb
garybhttps://github.com/garyb
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issuecomment-62167279
#496https://github.com/purescript/purescript/issues/496
https://github.com/paf31
paf31https://github.com/paf31
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issuecomment-62167643
https://github.com/jdegoes
jdegoeshttps://github.com/jdegoes
on Nov 7, 2014https://github.com/purescript/purescript/issues/687#issuecomment-62168440
paf31https://github.com/paf31
0.8.0https://github.com/purescript/purescript/milestone/11
0.7.0https://github.com/purescript/purescript/milestone/9
on Apr 18, 2015https://github.com/purescript/purescript/issues/687#event-284574520
paf31https://github.com/paf31
0.9.0https://github.com/purescript/purescript/milestone/10
0.8.0https://github.com/purescript/purescript/milestone/11
on Aug 8, 2015https://github.com/purescript/purescript/issues/687#event-376855145
paf31https://github.com/paf31
0.9.0https://github.com/purescript/purescript/milestone/10
0.10.0https://github.com/purescript/purescript/milestone/17
on Apr 10, 2016https://github.com/purescript/purescript/issues/687#event-621571276
paf31https://github.com/paf31
0.10.0https://github.com/purescript/purescript/milestone/17
on Sep 17, 2016https://github.com/purescript/purescript/issues/687#event-793152960
paf31https://github.com/paf31
on Oct 2, 2016https://github.com/purescript/purescript/issues/687#event-809625759
https://github.com/rhendric
rhendrichttps://github.com/rhendric
on Mar 15, 2019https://github.com/purescript/purescript/issues/687#issuecomment-473128951
@garybhttps://github.com/garyb
https://github.com/garyb
garybhttps://github.com/garyb
on Mar 17, 2019https://github.com/purescript/purescript/issues/687#issuecomment-473690723
Sign up for freehttps://github.com/signup?return_to=https://github.com/purescript/purescript/issues/687
Sign in to commenthttps://github.com/login?return_to=https://github.com/purescript/purescript/issues/687
codegenhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22codegen%22
optimizerhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22optimizer%22
type: enhancementhttps://github.com/purescript/purescript/issues?q=state%3Aopen%20label%3A%22type%3A%20enhancement%22
ApprovedNo due datehttps://github.com/purescript/purescript/milestone/5
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.