-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a buffer based approach for building multipart bodies
This creates a single buffer for each build_multipart, and has all building append to this buffer (append-only design). This is a significantly faster approach. It's faster in all tested cases, and about twice as fast for 1MB files.
- Loading branch information
1 parent
cf8b2c4
commit 1ffd860
Showing
2 changed files
with
52 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters