You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The goal of the Arrow format is to support zero-copy data transfer over the protocol, so the client SDKs should take care not to copy the data once it's been read from the wire.
However, we don't currently understand how to do this with the Go SDK's API - it's not clear how best to retain the data, nor how best to pass it to users.
The text was updated successfully, but these errors were encountered:
with the updated interface, there is now a single copy, due to the fact that the multipart iterator discards the buffer when moving to the next part. i plan to look further into how to improve this, it should be possible to operate on this data with a single copy directly into userland memory.
Note that you won't be able to do it zero-copy yet anyway, since we still haven't implemented the changes in rai-server itself to write each of the parts word-aligned! 😿
So i think 1-copy is the best we'll be able to do in any of the SDKs right now. 💪 great work getting there in the go sdk! :) Thanks Brad!
The goal of the Arrow format is to support zero-copy data transfer over the protocol, so the client SDKs should take care not to copy the data once it's been read from the wire.
However, we don't currently understand how to do this with the Go SDK's API - it's not clear how best to retain the data, nor how best to pass it to users.
The text was updated successfully, but these errors were encountered: