WeichenXu123 commented on pull request #9187: URL: https://github.com/apache/arrow/pull/9187#issuecomment-766499542
> A better way to get an estimate of buffer size would be to include a density value for the avg number of bytes per record, similar to setInitialCapacity(int valueCount, double density). You could then get the density from a previous vector and use that to estimate the size for the next vector This looks a. valuable proposal. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
