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 forEachChild function#16952

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

Optimize forEachChild function#16952
ahejlsberg merged 3 commits into
mastermicrosoft/TypeScript:masterfrom
optimizeForEachChildmicrosoft/TypeScript:optimizeForEachChildCopy head branch name to clipboard

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

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