Skip to content

Use MaxBy instead of OrderBy when resolving Room Layer Instance IDs for performance#2195

Merged
colinator27 merged 1 commit intoUnderminersTeam:masterfrom
BioTomateDE:qol1
Jul 12, 2025
Merged

Use MaxBy instead of OrderBy when resolving Room Layer Instance IDs for performance#2195
colinator27 merged 1 commit intoUnderminersTeam:masterfrom
BioTomateDE:qol1

Conversation

@BioTomateDE
Copy link
Copy Markdown
Contributor

Description

Small Performance and code readability change in UndertaleModLib/Models/UndertaleRoom.cs:395.

Caveats

Should not have any caveats.

Notes

my first pr

@github-actions
Copy link
Copy Markdown

Copy link
Copy Markdown
Member

@colinator27 colinator27 left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@colinator27 colinator27 merged commit 43aab60 into UnderminersTeam:master Jul 12, 2025
5 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.

2 participants