Skip to content

Moved mode check outside of loops#6650

Merged
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:performance
Oct 10, 2022
Merged

Moved mode check outside of loops#6650
hugovk merged 1 commit intopython-pillow:mainfrom
radarhere:performance

Conversation

@radarhere
Copy link
Copy Markdown
Member

Resolves #6649

Improves performance by running strcmp against imOut->mode once, instead of repeatedly within loops.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unnecessary check in tight loop in ImagingFill2

2 participants