aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-01-20 14:09:05 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-01-31 14:53:15 -0800
commit702c0cfa07597af150b0556c97ce0431a7d1de59 (patch)
treeb37f9e22fec0d5cade640ecd6705d78b0889169c /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent623b66eded4b1ab2fbb962d3841899458bac6693 (diff)
downloadllvm-702c0cfa07597af150b0556c97ce0431a7d1de59.zip
llvm-702c0cfa07597af150b0556c97ce0431a7d1de59.tar.gz
llvm-702c0cfa07597af150b0556c97ce0431a7d1de59.tar.bz2
[flang] runtime perf: larger I/O buffer growth increments
When reallocating an I/O buffer to accommodate a large record, ensure that the amount of growth is at least as large as the minimum initial record size (64KiB). The previous policy was causing input buffer reallocation for each byte after the minimum buffer size when scanning input data for record termination newlines. Differential Revision: https://reviews.llvm.org/D118649
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions