aik-jahoda commented on PR #73: URL: https://github.com/apache/arrow-dotnet/pull/73#issuecomment-3299477354
I like the idea of making the buffer explicitly for endianity operation. Unfortunately, the stream.WriteAsync doesn't have an overload with `ReadOnlySpan<byte>` so it will disallow us to use stack alloc . And I believe the async overload will be preferred by users. As we are writing a small amount of data, I tend to think about implementing the `WriteIpcMessageLengthAsync` over sync `IntBuffer.WriteLittleEndian` so we can leverage zero allocation. It would be good to support this by benchmark, but it would heavily depend on stream implementation. -- 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]
