paleolimbot commented on code in PR #608:
URL: https://github.com/apache/arrow-nanoarrow/pull/608#discussion_r1762256584
##########
r/src/ipc.c:
##########
@@ -112,6 +157,34 @@ static SEXP call_readbin(void* hdata) {
return R_NilValue;
}
+static SEXP call_writebin(void* hdata) {
+ struct ConnectionInputStreamHandler* data = (struct
ConnectionInputStreamHandler*)hdata;
+
+ // Write 16MB chunks
Review Comment:
I added a note about this...it's somewhere between a big value (to reduce
the number of R calls) and a small value (to minimize the copying/ensure
there's an R call every once in a while to catch an interrupt).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]