diff options
| author | Mikhail Zabaluev <mikhail.zabaluev@gmail.com> | 2020-11-04 23:55:41 +0200 |
|---|---|---|
| committer | Mikhail Zabaluev <mikhail.zabaluev@gmail.com> | 2020-11-22 17:05:13 +0200 |
| commit | 53196a8bcfe80db551aa9417ce93766c7ee0e46d (patch) | |
| tree | f0a660951b46a7999dff1b0a837840419b0ee05a /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 5d5ff84130da0d74c6ece368dbe821d8f83fa526 (diff) | |
| download | rust-53196a8bcfe80db551aa9417ce93766c7ee0e46d.tar.gz rust-53196a8bcfe80db551aa9417ce93766c7ee0e46d.zip | |
Optimize write_vectored for BufWriter
If the underlying writer does not support efficient vectored output, do it differently: always try to coalesce the slices in the buffer until one comes that does not fit entirely. Flush the buffer before the first slice if needed.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
