Sending large data streams _into_ Python #398
tonybaloney
started this conversation in
Ideas for Roadmap
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When sending lots of data from Python into C# there are options:
bytes
orbytearray
Buffer
protocol object such asbytes
orndarray
and then casting into a SpanAll are performant options for when Python returns a lot of binary data.
However, we don't really have many options for sending a lot of data from C# back into Python efficiently.
The fastest option right now is using a writable buffer but that isn't obvious. Creating Python lists from value types like int or string from C# > Python is slow.
array
Related user requests:
Beta Was this translation helpful? Give feedback.
All reactions