Skip to content

Optimize structured type relations#16954

Merged
ahejlsberg merged 3 commits into
masterfrom
optimizeTypeRelations
Jul 8, 2017
Merged

Optimize structured type relations#16954
ahejlsberg merged 3 commits into
masterfrom
optimizeTypeRelations

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