Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std::io::mem: add a with_capacity constructor to MemWriter.
This allows one to reduce the number of reallocs of the internal buffer if one has an approximate idea of the size of the final output.
- Loading branch information
be6ae6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r+