Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize _encode_multipart_message (#75)
* Optimize _encode_multipart_message By using BytesIO while generating the body instead of continuous string concatenations. This drastically reduces execution time by not recreating the string for each concatenation. In one case, execution time fell from 140 seconds to 0.14; three orders of magnitude! * Fix comment about default chunk_size in MB
- Loading branch information