Hi Ben,
The BaseX server protocol was specified without focus on any particular programming language.
If there is no way to speed up stream processing with R, you could have a look at the existing C++ client implementation [1]. Maybe you’ve done so already?
Cheers, Christian
[1] https://docs.basex.org/wiki/Clients
I am trying to speed up everything by using C++ for all direct read/write operations. But I never have worked with C++ before. And neither do I understand exactly how streams are to be used. According to some posts on internet, when reading from a stream the first 8 bytes are used to pass information on the length of the stream.
My question is if this a standard way to pass information on that length? Or is it specific to C++ or Java?
Ben