Skip to content

Remove duplicate code & make code reusable #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Remove duplicate code & make code reusable #244

wants to merge 2 commits into from

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