René's URL Explorer Experiment


Title: Enable caching for control flow paths that precede loops by ahejlsberg · Pull Request #33510 · microsoft/TypeScript · GitHub

Open Graph Title: Enable caching for control flow paths that precede loops by ahejlsberg · Pull Request #33510 · microsoft/TypeScript

X Title: Enable caching for control flow paths that precede loops by ahejlsberg · Pull Request #33510 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Enable caching for control flow paths that precede loops by ahejlsberg · Pull Request #33510 · microsoft/TypeScript

Open Graph Description: This PR tweaks our control flow analysis logic for loops to ensure that caching of assignment nodes occurs in control flow paths that precede loops.

X Description: This PR tweaks our control flow analysis logic for loops to ensure that caching of assignment nodes occurs in control flow paths that precede loops.

Opengraph URL: https://github.com/microsoft/TypeScript/pull/33510

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c28e8477-29ab-b5bb-7319-d966443408a4
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id953C:16EED3:25AE2EC:2FF6A4D:6B0192C1
html-safe-nonce6c6fc9812311032267ceab511fbd7dd037b26f5fb6c2983d66c0252271f31e9c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTNDOjE2RUVEMzoyNUFFMkVDOjJGRjZBNEQ6NkIwMTkyQzEiLCJ2aXNpdG9yX2lkIjoiNjM2NzU2NDg4ODE1OTY1NDU5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4493828f7107e627828e57a70659df3f9dc31a579ded180cce983e6d7af4a795
hovercard-subject-tagpull_request:319338484
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/33510/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/17a83ede109a975d579c04c1389dca7bb7f8847fb1c7462d19f1dfaa3a1de0be/microsoft/TypeScript/pull/33510
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/17a83ede109a975d579c04c1389dca7bb7f8847fb1c7462d19f1dfaa3a1de0be/microsoft/TypeScript/pull/33510
og:image:altThis PR tweaks our control flow analysis logic for loops to ensure that caching of assignment nodes occurs in control flow paths that precede loops.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahejlsberg
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/33510#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F33510
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%2Fmicrosoft%2FTypeScript%2Fpull%2F33510
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/33510
Reloadhttps://github.com/microsoft/TypeScript/pull/33510
Reloadhttps://github.com/microsoft/TypeScript/pull/33510
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
controlFlowLoopCachinghttps://github.com/microsoft/TypeScript/tree/controlFlowLoopCaching
Conversationhttps://github.com/microsoft/TypeScript/pull/33510
Commits3 (3)https://github.com/microsoft/TypeScript/pull/33510/commits
Checkshttps://github.com/microsoft/TypeScript/pull/33510/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/33510/files
Enable caching for control flow paths that precede loopshttps://github.com/microsoft/TypeScript/pull/33510#top
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
masterhttps://github.com/microsoft/TypeScript/tree/master
controlFlowLoopCachinghttps://github.com/microsoft/TypeScript/tree/controlFlowLoopCaching
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 19, 2019https://github.com/microsoft/TypeScript/pull/33510#issue-495875388
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/ahejlsberg
Enable caching for control flow paths that precede loopshttps://github.com/microsoft/TypeScript/pull/33510/commits/7b77b497810273c2a58f812d5082fab05333893e
7b77b49https://github.com/microsoft/TypeScript/pull/33510/commits/7b77b497810273c2a58f812d5082fab05333893e
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 19, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533186079
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 19, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533186803
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
7b77b49https://github.com/microsoft/TypeScript/commit/7b77b497810273c2a58f812d5082fab05333893e
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=44659
The results are in!https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533198919
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 19, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533186804
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
7b77b49https://github.com/microsoft/TypeScript/commit/7b77b497810273c2a58f812d5082fab05333893e
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=44658
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 19, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533198919
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 19, 2019 https://github.com/microsoft/TypeScript/pull/33510#pullrequestreview-290697599
View reviewed changes https://github.com/microsoft/TypeScript/pull/33510/files/7b77b497810273c2a58f812d5082fab05333893e
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/33510/files/7b77b497810273c2a58f812d5082fab05333893e#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 19, 2019 https://github.com/microsoft/TypeScript/pull/33510#pullrequestreview-290843959
View reviewed changes https://github.com/microsoft/TypeScript/pull/33510/files/7b77b497810273c2a58f812d5082fab05333893e
Wesley Wigham (weswigham)https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/33510#pullrequestreview-290843959
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/ahejlsberg
Cheaper caching schemehttps://github.com/microsoft/TypeScript/pull/33510/commits/d4ad0d53dcb9b5fc529f6455074fad1230522f66
d4ad0d5https://github.com/microsoft/TypeScript/pull/33510/commits/d4ad0d53dcb9b5fc529f6455074fad1230522f66
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533561686
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
TypeScript Bot (@typescript-bot)https://github.com/typescript-bot
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533561715
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
d4ad0d5https://github.com/microsoft/TypeScript/commit/d4ad0d53dcb9b5fc529f6455074fad1230522f66
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=44818
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533561716
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
d4ad0d5https://github.com/microsoft/TypeScript/commit/d4ad0d53dcb9b5fc529f6455074fad1230522f66
herehttps://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_build/results?buildId=44817
The results are in!https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533573112
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533573112
Anders Hejlsberg (@ahejlsberg)https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#issuecomment-533586125
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 20, 2019 https://github.com/microsoft/TypeScript/pull/33510#pullrequestreview-291265845
View reviewed changes https://github.com/microsoft/TypeScript/pull/33510/files/d4ad0d53dcb9b5fc529f6455074fad1230522f66
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/33510/files/d4ad0d53dcb9b5fc529f6455074fad1230522f66#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/ahejlsberg
Minor simplificationhttps://github.com/microsoft/TypeScript/pull/33510/commits/007b4b1e31623aa8a108219262819d07ba63202a
007b4b1https://github.com/microsoft/TypeScript/pull/33510/commits/007b4b1e31623aa8a108219262819d07ba63202a
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 20, 2019 https://github.com/microsoft/TypeScript/pull/33510#pullrequestreview-291320163
View reviewed changes https://github.com/microsoft/TypeScript/pull/33510/files/007b4b1e31623aa8a108219262819d07ba63202a
src/compiler/checker.tshttps://github.com/microsoft/TypeScript/pull/33510/files/007b4b1e31623aa8a108219262819d07ba63202a#diff-d9ab6589e714c71e657f601cf30ff51dfc607fc98419bf72e04f6b0fa92cc4b8
Wesley Wigham (weswigham)https://github.com/weswigham
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#discussion_r326745341
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#discussion_r326784578
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
10e3f11https://github.com/microsoft/TypeScript/commit/10e3f11c0d88b991eaca600ff71d01a603a769a3
Sep 20, 2019https://github.com/microsoft/TypeScript/pull/33510#event-2651545564
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
September 20, 2019 21:09https://github.com/microsoft/TypeScript/pull/33510#event-2651545804
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Oct 18, 2019 https://github.com/microsoft/TypeScript/pull/33510#ref-issue-509298741
Design Meeting Notes, 9/20/2019 #34572 https://github.com/microsoft/TypeScript/issues/34572
https://github.com/microsoft
Microsoft (microsoft)https://github.com/microsoft
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/33510#event-20416781340
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
Oct 21, 2025https://github.com/microsoft/TypeScript/pull/33510#event-20416781765
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F33510
https://github.com/weswigham
Wesley Wigham (weswigham) https://github.com/weswigham
https://github.com/microsoft/TypeScript/pull/33510/files/007b4b1e31623aa8a108219262819d07ba63202a
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg) https://github.com/ahejlsberg
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/33510
https://github.com/ahejlsberg
https://github.com/typescript-bot
https://github.com/weswigham
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.