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

   ### Rationale for this change
   closes #207 
   
   ### What changes are included in this PR?
   Adding new method `NewMappedFileReader` to ipc package which accepts a byte 
slice instead of a `ReaderAtSeeker`. Updates `ipcSource` to reference the raw 
byte slices from the input directly instead of wrapping with `bytes.NewReader` 
which forces copies via `Read`, `ReadFull`, etc.
   
   ### Are these changes tested?
   Unit tests added to confirm that the pointers match and that we aren't 
allocating unnecessarily.
   
   ### Are there any user-facing changes?
   Shouldn't be any user-facing changes other than a reduction in memory usage 
when reading non-compressed IPC data.
   


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