Skip to content

Conversation

@kuhe
Copy link
Contributor

@kuhe kuhe commented Nov 24, 2025

Issue

#7520

Description

This optimizes the traversal of shapes that contain nesting unions where most keys are empty.
This mostly applies to DynamoDB items having the AttributeValue type.

Testing

Added unit tests, manual testing shows speed improvement.

Checklist

  • If the PR is a feature, add integration tests (*.integ.spec.ts).
  • If you wrote E2E tests, are they resilient to concurrent I/O?
  • If adding new public functions, did you add the @public tag and enable doc generation on the package?

@kuhe kuhe requested a review from a team as a code owner November 24, 2025 21:09
@kuhe kuhe changed the title chore(core/protocols): performance improvements for shape serde traversal fix(core/protocols): performance improvements for shape serde traversal Nov 24, 2025
@kuhe kuhe force-pushed the shapeserde branch 2 times, most recently from fd70334 to 8c1c806 Compare November 24, 2025 21:54
@kuhe kuhe merged commit b20a25e into main Nov 25, 2025
5 of 6 checks passed
@kuhe kuhe deleted the shapeserde branch November 25, 2025 02:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants