Skip to content

[C#] refactor: seal PrimitiveValue and PrimitiveType, make ThrowHelper static#1109

Merged
mikeb01 merged 1 commit into
aeron-io:masterfrom
unsafePtr:seal-sbe-primitive-types
Jun 10, 2026
Merged

[C#] refactor: seal PrimitiveValue and PrimitiveType, make ThrowHelper static#1109
mikeb01 merged 1 commit into
aeron-io:masterfrom
unsafePtr:seal-sbe-primitive-types

Conversation

@unsafePtr

Copy link
Copy Markdown
Contributor

There is no reason PrimitiveValue and PrimitiveType are not sealed. Practically they will be never inherited. Seal them, as JIT will skip MethodTable generation and should improve the performance by a small margin.

@mikeb01 mikeb01 merged commit c369643 into aeron-io:master Jun 10, 2026
34 checks passed
@unsafePtr

unsafePtr commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

@mikeb01 , SBE-dll package on nuget.org is published here https://www.nuget.org/packages/sbe-tool ?

I am asking because it seems it's not updated since 2021? Project url is pointing to this repository.

@vyazelenko

Copy link
Copy Markdown
Contributor

@mikeb01 , SBE-dll package on nuget.org is published here https://www.nuget.org/packages/sbe-tool ?

I am asking because it seems it's not updated since 2021? Project url is pointing to this repository.

@ZachBray @JPWatson Can you help with the above question?

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