Skip to content

Part [2/2] -Refactor Enhanced Client to use createX methods instead of builder#7073

Merged
RanVaknin merged 1 commit into
feature/master/DDB-enhanced-fast-AV-construction-optimizationfrom
rvaknin/enhanced-fast-AV-wiring-v2
Jun 26, 2026
Merged

Part [2/2] -Refactor Enhanced Client to use createX methods instead of builder#7073
RanVaknin merged 1 commit into
feature/master/DDB-enhanced-fast-AV-construction-optimizationfrom
rvaknin/enhanced-fast-AV-wiring-v2

Conversation

@RanVaknin

Copy link
Copy Markdown
Contributor

Continuation of #7039

The previous PR did most of the work:
Introduced a new customization config flag that conditionally generates an alternative "direct" codepath for unions - specifically DDB's AttributeValue to avoid using the builder pattern, and instead use a factory methods which uses less memory allocations.

This PR wires those factories into the Enhanced Client's write paths. It replaces AttributeValue.builder().x(v).build() with AttributeValue.createX(v) across all attribute converters, the EnhancedAttributeValuevisitor, and StaticImmutableTableSchema.

@RanVaknin RanVaknin marked this pull request as ready for review June 25, 2026 18:25
@RanVaknin RanVaknin requested a review from a team as a code owner June 25, 2026 18:25
@RanVaknin RanVaknin merged commit dc5918a into feature/master/DDB-enhanced-fast-AV-construction-optimization Jun 26, 2026
3 checks passed
@github-actions

Copy link
Copy Markdown

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 26, 2026
@RanVaknin RanVaknin changed the title Refactor Enhanced Client to use createX methods instead of builder Part [2/2] -Refactor Enhanced Client to use createX methods instead of builder Jul 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants