Skip to content

postgres-replication: reuse underlying allocation for tuple data #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 9, 2025

Conversation

petrosagg
Copy link

The logical replication parsing routine for tuple data left some performance on the table by copying the replication data into new allocations instead of reusing the ones provided by the underlying Bytes buffer.

The logical replication parsing routine for tuple data left some
performance on the table by copying the replication data into new
allocations instead of reusing the ones provided by the underlying
`Bytes` buffer.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
@petrosagg petrosagg requested a review from antiguru April 9, 2025 11:10
Copy link
Member

@antiguru antiguru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@petrosagg petrosagg merged commit c4b473b into MaterializeInc:master Apr 9, 2025
2 of 4 checks passed
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