Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Optimize structured type relations#16954

Merged
ahejlsberg merged 3 commits into
mastermicrosoft/TypeScript:masterfrom
optimizeTypeRelationsmicrosoft/TypeScript:optimizeTypeRelationsCopy head branch name to clipboard
Jul 8, 2017
Merged

Optimize structured type relations#16954
ahejlsberg merged 3 commits into
mastermicrosoft/TypeScript:masterfrom
optimizeTypeRelationsmicrosoft/TypeScript:optimizeTypeRelationsCopy head branch name to clipboard

Conversation

@ahejlsberg

Copy link
Copy Markdown
Member

This PR optimizes the manner in which checkTypeRelatedTo tracks intermediate results when relating structured types. Previously we'd record temporary results in a map for each level of structuring, now we use a simple stack. This significantly reduces the number of short lived maps we allocate.

@ahejlsberg ahejlsberg merged commit ff5d245 into master Jul 8, 2017
@ahejlsberg ahejlsberg deleted the optimizeTypeRelations branch July 8, 2017 02:18
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.