summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-03-20 10:00:13 +0000
committerPádraig Brady <P@draigBrady.com>2014-03-24 09:10:20 +0000
commit5f9a5b3f0346f4fb6b758953d4eaeff3d6a419d6 (patch)
tree1031618daa861c6df9dba9c0af076ef05b8427d9 /tests
parentb010481e1fb24a22c22b6a279e8d24ed3ab4362a (diff)
downloadcoreutils-5f9a5b3f0346f4fb6b758953d4eaeff3d6a419d6.tar.xz
split: avoid unnecessary input buffering
Input buffering is best avoided because it introduces delayed processing of output for intermittent input, especially when the output size is less than that of the input buffer. This is significant when output is being further processed which could happen if split is writing to precreated fifos, or through --filter. If input is arriving quickly from a pipe then this will already be buffered before we read it, so fast arriving input shouldn't be a performance issue. * src/split.c (lines_split, lines_bytes_split, bytes_split, lines_chunk_split, bytes_chunk_extract): s/full_read/safe_read/. * THANKS.in: Mention the reporter. * NEWS: Mention the improvement.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions