Skip to content

Prevent multiple calls to part.getTable method#1

Open
th3nate wants to merge 1 commit intocanaryfrom
patch-1
Open

Prevent multiple calls to part.getTable method#1
th3nate wants to merge 1 commit intocanaryfrom
patch-1

Conversation

@th3nate
Copy link
Copy Markdown
Owner

@th3nate th3nate commented Mar 22, 2016

When ever we are loading a new part, the forEach loop iterates through all the parts in getPrioritizedParts method and parts that were already loaded are being pushed again into loaders array. that results in multiple unnecessary calls to part.getTable method.

when ever we are loading a new part the forEach loop iterates through all the parts in getPrioritizedParts method and parts that were already loaded are being pushed again into loaders array. that results in multiple unnecessary calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant