Skip to content

Optimize forEachChild function#16952

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

Optimize forEachChild function#16952
ahejlsberg merged 3 commits into
masterfrom
optimizeForEachChild

Conversation

@ahejlsberg
Copy link
Copy Markdown
Member

This PR optimizes the forEachChild function to have an early bail out for token nodes (which have no children) and also simplifies the way in which child collections are iterated.

@ahejlsberg ahejlsberg merged commit b866cd4 into master Jul 8, 2017
@ahejlsberg ahejlsberg deleted the optimizeForEachChild 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.

3 participants