jayzhan211 commented on issue #9637:
URL: 
https://github.com/apache/arrow-datafusion/issues/9637#issuecomment-2017111018

   > After playing around with this, I have become convinced what is really 
needed is a "TreeMutator" type API on TreeNode that lets us rewrite 
`LogicalNode`s in place -- if we had that API I think we can make the 
DataFusion Optimizer screaming fast
   
   It seems treemutaor is `&mut T` at the first place, and in your previous 
design #9708 we have `&mut T` for `rewrite_inputs` and `rewrite_exprs`, I don't 
understand why the former one is better, I guess they have the similar 
performance.


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