Skip to content
This repository has been 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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Drevoed
Copy link

@Drevoed Drevoed commented Jul 14, 2024

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