Uh oh!
There was an error while loading. Please reload this page.
Reduce size of Expr struct - #14366
Conversation
Uh oh!
There was an error while loading. Please reload this page.
| return Some(idx + input_len); | ||
| } else { | ||
| None |
b25ba57 to
f5df767CompareUh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com>
alamb
commented
Feb 12, 2025
I ran some build benchmarks on a GPC machine and I conclude this change does not improve the build timings |
crepererum
commented
Feb 17, 2025
TBH I would be surprised if the build performance is affected by a few |
alamb
commented
Feb 19, 2025
I'll try and find time to run some sql planning benchmarks |
Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days. |
alamb
commented
May 16, 2025
🤖 |
alamb
commented
May 16, 2025
🤖: Benchmark completed Details |
crepererum
commented
May 26, 2025
If these benchmarks are reliable, then this would be a pretty neat improvement. |
alamb
commented
May 26, 2025
Oh, man I missed the benchmark results (I forgot to check them). I'll ressurect this PR over the next week or so and rerun benchmarks Thank you very much for the shout @crepererum |
alamb
commented
May 27, 2025
Filed #16199 to track |
Which issue does this PR close?
Exprstruct #16199Rationale for this change
@waynexia 's comment on #14256 (comment) got me thinking maybe the build time regression had something to do with the size of
ExprSo I poked around for ways to reduce the size, and I found that currently
Expris 272 bytesWhat changes are included in this PR?
ExprExpr::WindowFunction(WindowFunction) -->Expr::WindowFunction(Box<WindowFunction>) -- which drops the size ofExprfrom 272 to112` bytesAre these changes tested?
functionally by CI
TODO:
Are there any user-facing changes?