Skip to content

Use IsDefined over GetCustomAttributes#43

Merged
dennisdoomen merged 1 commit intodennisdoomen:mainfrom
jnyrup:IsDefined
Dec 25, 2024
Merged

Use IsDefined over GetCustomAttributes#43
dennisdoomen merged 1 commit intodennisdoomen:mainfrom
jnyrup:IsDefined

Conversation

@jnyrup
Copy link
Copy Markdown
Contributor

@jnyrup jnyrup commented Dec 24, 2024

Realised that with 0b2e98a in, we can do further optimizations by using IsDefined directly instead of getting all attributes with GetCustomAttributes and then check that array for emptiness.

@dennisdoomen dennisdoomen merged commit 8ca99aa into dennisdoomen:main Dec 25, 2024
@jnyrup jnyrup deleted the IsDefined branch December 25, 2024 08:27
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