Skip to content

Api Change Proposal for improved (byte) array support (ArrayPools) #1161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

WernerMairl
Copy link

Hi
with this kind of low impact change I'm able to solve 95% of my performance issues coming from doing allocations for byte[] also mentioned in #975 .

Any chance to bring this (or anything else that works like this) into a v3.x release ?

Impact estimation:

There is ONE more "IF" Statement that must be executed at runtime:

if (ArrayFactory == null)

If it resolves to "false" (the default) then the old behavior follows.
The costs for this extensions are the CPU ticks for the IF-Check...

BR
Werner

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.

1 participant