pixelherodev opened a new pull request, #543:
URL: https://github.com/apache/arrow-go/pull/543

   ### Rationale for this change
   
   This avoids an unnecessary heap allocation, reducing GC pressure and 
increasing latency and throughput of anything that processes messages.
   
   ### What changes are included in this PR?
   
   fieldMetadata returns the `flatbuf.FieldNode` that it loads from metadata 
directly, instead of a pointer to it. The three callers that pass through the 
pointer also now return the FieldNode directly.
   
   ### Are these changes tested?
   
   Yes.
   
   ### Are there any user-facing changes?
   
   No; the pointer was not exposed anyways.


-- 
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]

Reply via email to