Skip to content

[IMPROVE] Stop sort callbacks on run#11330

Merged
ggazzo merged 2 commits intodevelopfrom
dont-sort-callback-each-run
Jul 5, 2018
Merged

[IMPROVE] Stop sort callbacks on run#11330
ggazzo merged 2 commits intodevelopfrom
dont-sort-callback-each-run

Conversation

@ggazzo
Copy link
Copy Markdown
Member

@ggazzo ggazzo commented Jul 4, 2018

We dont need sort the callbacks each time we call them, we just need sort on add... I'm not sure if will save a lot of time, but its the right logic... As we dont need return a new Promise each cycle

Copy link
Copy Markdown
Member

@rodrigok rodrigok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code and logic were reviewed and approved, not tested

@ggazzo ggazzo merged commit d08d48c into develop Jul 5, 2018
@ggazzo ggazzo deleted the dont-sort-callback-each-run branch July 5, 2018 17:35
@sampaiodiego sampaiodiego mentioned this pull request Jul 20, 2018
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.

3 participants