Skip to content

perf(http1): write chunk size hex without fmt - #4273

Open
patrick-immometrica wants to merge 1 commit into
hyperium:masterfrom
patrick-immometrica:perf-chunk-size-hex
Open

patrick-immometrica wants to merge 1 commit into
hyperium:masterfrom
patrick-immometrica:perf-chunk-size-hex

Conversation

@patrick-immometrica

Copy link
Copy Markdown

ChunkSize::new went through write! for every outgoing chunk. Write the hex digits directly instead. About 3x faster for 100 small chunks.

ChunkSize::new went through write! for every outgoing chunk. Write the
hex digits directly instead. About 3x faster for 100 small chunks.

This branch has not been deployed

No deployments
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