Hi On Thu, 21 Mar 2024 at 19:23, 'Christian Stewart' via golang-nuts < golang-nuts@googlegroups.com> wrote:
> When sending Read() via an RPC call or traversing locks, it is > significantly faster to return EOF in the same call as returning the rest > of the available data, than to call Read a second time to get the EOF. > Just for sake of discussion/argumentation, it's still possible for the callee implementation to cache the error status which is returned in the next Read call. Thus a single RPC (or lock) call is performed. -- Diego Joss -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAGjxhKmmoefO5dY1df5GrirP5t4cdBoqvb%2BMkWdaV3zQ4itYNQ%40mail.gmail.com.