alamb commented on issue #17897:
URL: https://github.com/apache/datafusion/issues/17897#issuecomment-3365790461

   Thank you @ctsk  -- this is a good call
   
   @yjshen and @Rachelint have observed something similar:
   - https://github.com/apache/datafusion/issues/7065
   
   Their approach was to use a chunked approach to allocations (multiple 
vectors rather than a hash table):
   - https://github.com/apache/datafusion/pull/15591
   
   I can't remember what else is needed
   
   p.s. 
   I am not sure about "quadratic" runtime -- I think it would be more accurate 
to say that the intermdiates are copied likely 2x more than they would have 
been as I believe `Vec::resize` employes a expnential doubling strategy


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