Skip to content

Conversation

Foysal50x
Copy link

No description provided.

@SimonFrings
Copy link
Member

Hey @Faisal50x, thanks for bringing this up 👍

The same topic came up in #164 when this code was introduced. @clue did a good job at explaining that this is the very core of the event loop, thus a critical code path. Every additional function call takes up some time and we rather want to avoid this where we can.

Don't get me wrong, you're suggested changes make total sense but it's also important to look at the benefit we're gaining from this, because this is an internal adjustment and only "visible" to contributors when working on this.

What do you think about this?

@Foysal50x
Copy link
Author

@SimonFrings
Thank you for clarifying me. I close this PR.

@Foysal50x Foysal50x closed this Feb 22, 2022
@Foysal50x Foysal50x deleted the feat_make_code_reusable branch February 22, 2022 17:15
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.

2 participants