Skip to content

Conversation

@pettyjamesm
Copy link
Member

Description

Updates airlift/bytecode to 1.6 and then modifies RowConstructorCodeGenerator to reuse variables within the same
method scope instead of just locally within the same row constructor instance. This can significantly reduce the generated code size for complex expressions involving multiple row constructors within them.

Additional context and related issues

Uses airlift/bytecode#18 to reduce RowConstructorCodeGenerator code size

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

Updates RowConstructorCodeGenerator to reuse variables within the same
method scope instead of just locally within the same row constructor
instance. This can significantly reduce the generated code size for
complex expressions involving multiple row constructors within them.
@cla-bot cla-bot bot added the cla-signed label May 17, 2024
@pettyjamesm pettyjamesm requested review from dain and martint May 17, 2024 01:00
@dain dain merged commit 5274dac into trinodb:master May 17, 2024
@github-actions github-actions bot added this to the 449 milestone May 17, 2024
@pettyjamesm pettyjamesm deleted the update-airlift-bytecode branch May 17, 2024 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants