Skip to content

Replace uses of write! with write_str and write_fmt#699

Merged
jonasbb merged 1 commit intomasterfrom
remote-write
Feb 13, 2024
Merged

Replace uses of write! with write_str and write_fmt#699
jonasbb merged 1 commit intomasterfrom
remote-write

Conversation

@jonasbb
Copy link
Copy Markdown
Owner

@jonasbb jonasbb commented Feb 13, 2024

write! with a single string argument is not properly optimized and using
write_str generates better code:
serde-rs/serde#2697
rust-lang/rust#121001

write! with a single string argument is not properly optimized and using
write_str generates better code:
serde-rs/serde#2697
rust-lang/rust#121001
@jonasbb jonasbb merged commit 450c22c into master Feb 13, 2024
@jonasbb jonasbb deleted the remote-write branch February 13, 2024 22:57
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.

1 participant