Skip to content
This repository was archived by the owner on Oct 19, 2024. It is now read-only.

perf(payload): Use existing method on payload to read into bytes#937

Open
Drevoed wants to merge 1 commit into
modrinth:masterfrom
Drevoed:perf/payload
Open

perf(payload): Use existing method on payload to read into bytes#937
Drevoed wants to merge 1 commit into
modrinth:masterfrom
Drevoed:perf/payload

Conversation

@Drevoed

@Drevoed Drevoed commented Jul 14, 2024

Copy link
Copy Markdown

Also modifies read_from_field to use sensible capacity or read from content-length header to minimize amount of allocations done.

… limit.

Also modifies `read_from_field` to use sensible capacity or read from content-length header to minimize amount of allocations done.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant