Skip to content

Conversation

@pveentjer
Copy link
Contributor

@pveentjer pveentjer commented Aug 22, 2025

to prevent creating any objects when not needed.

Fixes the following issue:

#1079

I have not added any tests that trigger the behavior. I need some help with that.

I'm not familiar with the optimizations applied by the C# compiler and runtime (JIT). It might very well be that the code will be optimized and this change doesn't improve the performance.

to prevent creating any objects when not needed.

Fixes the following issue:

aeron-io#1079
@pveentjer pveentjer requested a review from ZachBray August 22, 2025 05:51
@vyazelenko vyazelenko merged commit 7816d6b into aeron-io:master Aug 25, 2025
34 checks passed
@pveentjer pveentjer deleted the fix/empty-array-creation-csharp branch August 26, 2025 10:53
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