Skip to content

perf: check Class#isInstance before casting#231

Merged
rubensworks merged 1 commit into
CyclopsMC:master-26from
Vonr:perf/check-castability
May 14, 2026
Merged

perf: check Class#isInstance before casting#231
rubensworks merged 1 commit into
CyclopsMC:master-26from
Vonr:perf/check-castability

Conversation

@Vonr
Copy link
Copy Markdown
Contributor

@Vonr Vonr commented May 14, 2026

ensures that a ClassCastException won't be generated, as doing so costs a lot
image

ensures that a ClassCastException won't be generated, as doing so costs
a lot
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 14, 2026

CLA assistant check
All committers have signed the CLA.

@sonarqubecloud
Copy link
Copy Markdown

@rubensworks rubensworks merged commit 8d5ffc7 into CyclopsMC:master-26 May 14, 2026
4 checks passed
@rubensworks
Copy link
Copy Markdown
Member

Great, thanks @Vonr!

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.

3 participants