Uh oh!
There was an error while loading. Please reload this page.
Rewrite CommonSubexprEliminate to avoid copies using TreeNode - #10067
Rewrite CommonSubexprEliminate to avoid copies using TreeNode#10067alamb wants to merge 1 commit into
CommonSubexprEliminate to avoid copies using TreeNode#10067Conversation
peter-toth
commented
Jun 7, 2024
alamb
commented
Jun 7, 2024
Sure -- that would be great @peter-toth -- I actually had a secret plan to work on the CSE rewrite tomorrow (I swear!) as I will be traveling and on a plane Just let me know what you want to do |
peter-toth
commented
Jun 7, 2024
Sure, please work on it if you have some time during the weekend as I can't do it earlier than next week. |
alamb
commented
Jun 7, 2024
Will do -- thank you |
alamb
commented
Jun 8, 2024
Superceded by #10835, will continue work there |
WIP -- still has many more copies to remove
Which issue does this PR close?
Part of #9637
related to #9873
Rationale for this change
Let's make planning faster by not copying so much in the optimizer using the new TreeNode API.
What changes are included in this PR?
Note this pass still leaves a lot to be desired in terms of copying Exprs / making strings but it is much better now. Fixing up the additional copies is tracked with #9873
Are these changes tested?
Functional: existing tests
Performance: TBD
Are there any user-facing changes?