| 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:a018f982-458f-0dcb-2e0b-ba99110fbd0a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EC88:3A347:9420E7:C5DB4D:6B00E484 |
| html-safe-nonce | 32ee2a0964a3d35c613a83d835547a7873fe956d27a9e5433b92624a75bbaa5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzg4OjNBMzQ3Ojk0MjBFNzpDNURCNEQ6NkIwMEU0ODQiLCJ2aXNpdG9yX2lkIjoiNzkwMzY2NzE2NTcwOTAwMTg2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cdb0f77340713f71008a951e366370bcfc1d306537e40a8924d4ca47a03aa68a |
| hovercard-subject-tag | pull_request:4106583357 |
| 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/purescript-lua/purescript-lua/pull/286/files |
| twitter:image | https://avatars.githubusercontent.com/u/1009751?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1009751?s=400&v=4 |
| og:image:alt | Closes #221.
Problem
Every call-site paste is a bet. It pays off when the pasted method body meets a known-constructor fold and collapses; it loses when nothing folds. A product-type monad is the l... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/purescript-lua/purescript-lua git https://github.com/purescript-lua/purescript-lua.git |
| octolytics-dimension-user_id | 131581790 |
| octolytics-dimension-user_login | purescript-lua |
| octolytics-dimension-repository_id | 587200487 |
| octolytics-dimension-repository_nwo | purescript-lua/purescript-lua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587200487 |
| octolytics-dimension-repository_network_root_nwo | purescript-lua/purescript-lua |
| 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 | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/purescript-lua/purescript-lua/pull/286/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F286%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%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F286%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=purescript-lua%2Fpurescript-lua |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/286/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/286/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/286/files |
| purescript-lua | https://github.com/purescript-lua |
| purescript-lua | https://github.com/purescript-lua/purescript-lua |
| Code | https://github.com/purescript-lua/purescript-lua |
| Issues48 (48) | https://github.com/purescript-lua/purescript-lua/issues |
| Pull requests | https://github.com/purescript-lua/purescript-lua/pulls |
| Discussions | https://github.com/purescript-lua/purescript-lua/discussions |
| Actions | https://github.com/purescript-lua/purescript-lua/actions |
| Projects | https://github.com/purescript-lua/purescript-lua/projects |
| Security and quality | https://github.com/purescript-lua/purescript-lua/security |
| Insights | https://github.com/purescript-lua/purescript-lua/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpurescript-lua%2Fpurescript-lua%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=%2Fpurescript-lua%2Fpurescript-lua%2Fissues%2Fnew%2Fchoose |
| Unisay | https://github.com/Unisay |
| main | https://github.com/purescript-lua/purescript-lua/tree/main |
| issue-221/bound-inlining-growth | https://github.com/purescript-lua/purescript-lua/tree/issue-221/bound-inlining-growth |
|
Conversation
0
| https://github.com/purescript-lua/purescript-lua/pull/286 |
|
Commits
2
| https://github.com/purescript-lua/purescript-lua/pull/286/commits |
|
Checks
2
| https://github.com/purescript-lua/purescript-lua/pull/286/checks |
|
Files changed
| https://github.com/purescript-lua/purescript-lua/pull/286/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/286/files |
|
feat(optimizer): bound call-site inlining growth per expression
| https://github.com/purescript-lua/purescript-lua/pull/286/files#top |
|
Show all changes
2 commits
| https://github.com/purescript-lua/purescript-lua/pull/286/files |
|
b82c17e
feat(optimizer): bound call-site inlining growth per expression (#221)
Unisay Jul 20, 2026
| https://github.com/purescript-lua/purescript-lua/pull/286/commits/b82c17ed7a5488df5de977c159074193b3a2f954 |
|
9a3d3b7
test(golden): accept growth-bounded inlining shapes (#221)
Unisay Jul 20, 2026
| https://github.com/purescript-lua/purescript-lua/pull/286/commits/9a3d3b7a4e49eb2e4995159a0330df4021ca824c |
|
Clear filters
| https://github.com/purescript-lua/purescript-lua/pull/286/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/286/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/286/files |
|
20260720_130000_unisay_bound_inline_growth.md
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-f3f0b21235f061db7f07995437159695f74a13665b3e3595d133d267a84659f5 |
|
Optimizer.hs
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
Spec.hs
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-241ea2421c606c31b9414fb386f9f4d1beb60055ed792935b393101edfd7b949 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-a50730a65be2dd43fb54fcc7256daba19c0f0d185fa91ae70fd74eb6dc88babb |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-f09de2d9591e7ed04c015cf5105c29cef2be557187d5d7b8ca203b70d4f11bfc |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-8529207f5726b1c4ce856b7d81dadbbbdc4b244d37e96f40d897c3acc69290b8 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-0c90c2d7623d39f887ed98803e0198ce7532cb955c04690d5c518a02bb16d0e1 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-65a5e30b1570f3994486f89315526d8aae27c3cad36e6da372dd085bdd82cd9f |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-23117990878707885e133b7d67da5e257a68fc12320e9b0c61cbad064d7835aa |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-90b270fb0c575ad63be2d3a34d6f490c96c8f6b0536069fb79a97c918d69da98 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-3dbcfad1e19a11d68f5041cfd1b9d50c09eacb7a6255757ee2f716b8fb1d8e0c |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-a7e45f2c9a63007fcc50e80ce23ae3b12b63bc6f37089a6332f5d45fa7c7e5f6 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-b3810270fb35179a8b788525d0c4d087f0b064b98df6067a6abcedb0c66335d9 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-f681ba814c3f5a9d02a0f986890219bb41cd2f8fb10633efcc78b3ef649ad60f |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-9e3f316b6cc931f334b87e8edcd3d4b82e1342549d712184ba6514363e081a25 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-f0201fc28439e5564ed5468ce0595a09d8e7bde23c1915c884ea76fd876ba563 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-8dfedaaf26edcf6fa07163d47307b5d5e6bf28cde0f27b629ac19c46119fcaf9 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-40d54b27f028b6066bcec746327a3f0a128053c75819d4019f03cfcc0fce015f |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-a3c17d21777b8fc58fbba68eb74a46fb303e60a17d8524ca2674479e0ebf7eb9 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-d3c70e506ea822ff99389c6a4e383878df25de8723c47a01e91e7dc5792501dc |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-596c7cb04898e2e110885627fbe42de08e09aa38b253a73bf3a99c9cedfa6bec |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-6dd832f0599e4565be9fba3ebf138337f62b76ef432e4de9943388ca4b187b04 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-3058caa776257034fc5c6caf6cdcd1823934a0ed43d330ebdb6e26da662cf83e |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-060f38f5ecfff2ae036e099dad5d27c21eb38958b6f4b12ae9588a19765090e5 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-6c83dcd06227adf985a117c26f276373f15f72bb8d3a61a5673aba8e54d83e58 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-c87daf3e43a53dd52fa264f09901b86021b6ee624f9da16bea90707758b8abfe |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-7a0f829c8097adffc9b5bff2f03fd5a9a7d69ed4d2e1719bd21e8c484253266d |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-3f04c3741324cd40fa1bee9965348b10da1aba2219b27e1642cb1723680cd303 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-bbf80c14eb12e728e7f421861af2a2f560b5d062b608c6661970199801337c69 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-9b91eb3b8f15ab20b15249ff4a331cf9f8922e57544c8a84939bf1118cde9f60 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-06897353084f92425d5d32a75137d3d06c5866a0510c5e2a93af252038456f8b |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-69a4ed0669e3d331c2f75a5c965227207473057c0b244b082665a6c722c7e6dc |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-86b98ca808da9e36c909687862754e31f093ebcfa407f44f41591e1ae7129a5a |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-5a8697c32b69161fd9b5f35c113e261ae0490d7cabdd203fe1e7d947d6452b40 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-071592f558dbea3b0d5dece641920d6e652b30971d89ff173826b816b2d67109 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-df535e1f7273af0cc86db20df55495de4552000d7bf2f3abb21f421d07947914 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-8f846c962c84e2efb0046e7848c15b3bac3e044be37a2d2ee0620f823f2e9b0f |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-943a6e999776e2a06a4d4209af7f89e9a8d977d6000c31c70ed84e781da2e2ff |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-56618fb442d7b6de74d0159576d795d225986345ac7840c4a3a8a3831cb98ad3 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-61f79094c925f1c00df559521926a985640236fe532d9ccec94b9893442659e3 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-12b1d0aa4433bf963d1b2b3685ea3ec7726991cd5b797cdb7c8ce480aa7d24dd |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-59228eb57afc923473dbd5b1f219c11f7811b5e775587a604de4293dbf8922e6 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-bdd6a9511df955f4252a051367856128627b9e22888fff57be1d79cdfa336503 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-afce6b8baac1ba8767363e541803baa37fca9f4bbabbf612d91769ec36efc412 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-ac5bf4ca9d458346d8eadd0865c78e8f31b6e180153f1aee53f9874d2313eb8e |
| changelog.d/20260720_130000_unisay_bound_inline_growth.md | https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-f3f0b21235f061db7f07995437159695f74a13665b3e3595d133d267a84659f5 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/9a3d3b7a4e49eb2e4995159a0330df4021ca824c/changelog.d/20260720_130000_unisay_bound_inline_growth.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/286/{{ revealButtonHref }} |
| lib/Language/PureScript/Backend/IR/Optimizer.hs | https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/9a3d3b7a4e49eb2e4995159a0330df4021ca824c/lib/Language/PureScript/Backend/IR/Optimizer.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/286/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/286/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/286/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 |