neilconway opened a new pull request, #21734:
URL: https://github.com/apache/datafusion/pull/21734

   ## Which issue does this PR close?
   
   N/A
   
   ## Rationale for this change
   
   We can easily specify the correct capacity for the result vector in 
`project_statistics`. Profiling shows that this reduces total allocated bytes 
for planning TPC-H Q13 by ~1.7%, or ~17 kB out of ~1.03MB of allocations.
   
   Probably too small to show up in a measurement of elapsed duration, but 
doesn't hurt.
   
   ## What changes are included in this PR?
   
   * Specify vector capacity in `project_statistics`
   
   ## Are these changes tested?
   
   Yes.
   
   ## Are there any user-facing changes?
   
   No.
   


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