Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Add support for batch transfers #425

Open
pieths opened this issue Feb 6, 2020 · 0 comments
Open

Add support for batch transfers #425

pieths opened this issue Feb 6, 2020 · 0 comments

Comments

@pieths
Copy link
Collaborator

pieths commented Feb 6, 2020

Currently, each return value is transferred from managed code to native code one at a time. See NativeDataInterop.cs.

for (int i = 0; i < fillers.Length; i++)
{
    fillers[i].Set();
}

...

_poker(value, _colIndex, _input.Position, 0);

Could performance be increased by batching the values and sending over a batch at a time? This would reduce the amount of managed/unmanaged transitions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant