Skip to content
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

Updated parse requires handler and fixed outputs list #22

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

thamerkhamassi
Copy link
Contributor

@thamerkhamassi thamerkhamassi commented Oct 11, 2024

Description:

This PR optimizes the _parse_requires function by improving the handling of the output == 0 case and simplifying the logic. Specifically, the input is no longer added to the output list or checked when output == 0. Instead, input is now handled directly upfront, reducing unnecessary steps and improving the efficiency of the function.

Copy link
Member

@zeddo123 zeddo123 left a comment

Choose a reason for hiding this comment

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

Thank you for the fix! ❤️

@zeddo123 zeddo123 merged commit b633766 into master Oct 11, 2024
4 checks passed
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.

Handler and Output Step Selection Not Optimal in output_on_image Method
2 participants