Skip to content
Commit dfb0ad30 authored by Benjamin Kramer's avatar Benjamin Kramer
Browse files

raw_ostream: while it is generally desirable to do larger writes, it can lead to

inefficient file system buffering if the writes are not a multiple of the desired
buffer size. Avoid this by limiting the large write to a multiple of the buffer
size and copying the remainder into the buffer.

Thanks to Dan for pointing this out.

llvm-svn: 127026
parent 3ef86dc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment