summaryzb opened a new pull request, #157:
URL: https://github.com/apache/incubator-uniffle/pull/157

   ### What changes were proposed in this pull request?
   Record added to `WriterBuffer` will split across byte array buffer, all the 
byte array will be fully used
   
   ### Why are the changes needed?
   Previously for example, the length of every record is 2k, every time we add 
a record, we create a buffer with 3k length by default and wrap the previous 
buffer as `WrappedBuffer` which resulting in wasting 1k memory in every 
`WrappedBuffer`.
   Apply this PR will save memory
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Pass unit test
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to