Skip to content

Remove unneeded loop in IccClut#2936

Merged
JimBobSquarePants merged 1 commit into
SixLabors:mainfrom
stefannikolei:sn/ref/iccclut
Jun 5, 2025
Merged

Remove unneeded loop in IccClut#2936
JimBobSquarePants merged 1 commit into
SixLabors:mainfrom
stefannikolei:sn/ref/iccclut

Conversation

@stefannikolei

Copy link
Copy Markdown
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

Removed an unneeded loop. Now SequenceEquals is only executed once

return false;
}

for (int i = 0; i < this.Values.Length; i++)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Holy Cartesian Explosion Batman!

BatmanBatmanRetroGIF

@JimBobSquarePants JimBobSquarePants merged commit 8dba1c6 into SixLabors:main Jun 5, 2025
8 checks passed
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.

2 participants