Giuseppe Scrivano
e2e11119e0
yes: improve efficiency when all args aren't buffered
...
* src/yes.c (main): Even when the internal buffer isn't large enough,
output what we've buffered already, and interate over the rest.
This improves the performance in the edge case where there are
many small arguments that overflow the buffer.
* tests/misc/yes.sh: Add a test case for the many small arguments case.
2015-03-10 12:30:33 +00:00
..
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 17:38:12 +01:00
2015-01-31 17:39:04 +01:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 12:20:32 +00:00
2015-01-31 17:39:04 +01:00
2015-03-10 12:30:33 +00:00
2015-01-14 12:20:32 +00:00
2015-01-14 12:20:32 +00:00
2015-01-01 04:52:17 +00:00
2015-01-14 12:20:32 +00:00
2015-01-31 17:39:04 +01:00
2015-01-14 12:20:32 +00:00
2015-01-20 01:54:55 +01:00
2015-02-06 10:41:06 +00:00
2015-01-14 17:38:12 +01:00
2015-01-31 17:39:04 +01:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00
2014-10-23 03:30:23 +01:00
2015-01-01 04:52:17 +00:00
2011-02-08 22:46:25 +00:00
2011-04-13 11:18:48 +01:00
2012-09-14 10:20:03 +02:00
2015-02-18 23:36:34 +00:00
2015-03-10 00:12:30 +00:00
2012-08-30 18:55:59 +02:00
2015-01-01 04:52:17 +00:00
2015-01-01 04:52:17 +00:00