Is your feature request related to a problem or challenge?
No response
Describe the solution you'd like
According to following stackoverflow discussion. Boxs can deep copy when called with .clone() method (according to .clone() implementation of the underlying type.).
For Box<Expr> this is the case. I think this usage might be the reason of some deep stack usages seen during the planning.
See related issues: #9375, #8837.
I think, replacing Box<Expr> usages with Arc<Expr> under the enum Expr would improve performance. I am not familiar with the implications of these two approaches in other places. I wonder what community thinks about this change. Would it be better, unnecessary, etc?
Describe alternatives you've considered
No response
Additional context
No response
Is your feature request related to a problem or challenge?
No response
Describe the solution you'd like
According to following stackoverflow discussion.
Boxs can deep copy when called with.clone()method (according to.clone()implementation of the underlying type.).For
Box<Expr>this is the case. I think this usage might be the reason of some deep stack usages seen during the planning.See related issues: #9375, #8837.
I think, replacing
Box<Expr>usages withArc<Expr>under theenum Exprwould improve performance. I am not familiar with the implications of these two approaches in other places. I wonder what community thinks about this change. Would it be better, unnecessary, etc?Describe alternatives you've considered
No response
Additional context
No response