Skip to content

perf: Copy less when serializing Bind messages - #3740

Open
charmander wants to merge 3 commits into
brianc:masterfrom
charmander:bind-message-copy-less
Open

perf: Copy less when serializing Bind messages#3740
charmander wants to merge 3 commits into
brianc:masterfrom
charmander:bind-message-copy-less

Conversation

@charmander

@charmander charmander commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Takes about 15–30% less time on some parameter values in my measurements. Performance here could still be improved by a lot, but many other improvements also need interface changes, so I separated out this patch that was fully backwards-compatible.

This comment was marked as resolved.

…er` shrinks values

It would have created an incomplete message anyway, but I figured this was vaguely plausible, bad enough, and easy enough to fix. No test though, because the test is annoying to write.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@charmander
charmander requested a review from brianc August 11, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants