Denis Vlasenko
a9d7d24e1f
echo: fix regression ("echo" with no arguments didn't print newline.
...
echo: use fputs if no options are given. Code growth ~15 bytes.
Old:
# time ./busybox find $bigdir -exec echo {} \; >/dev/null
real 0m2.038s
user 0m0.761s
sys 0m0.953s
New:
# time ./busybox find $bigdir -exec echo {} \; >/dev/null
real 0m1.781s
user 0m0.781s
sys 0m0.939s
For comparison: without NOFORK:
# time find $bigdir -exec echo {} \; >/dev/null
real 1m51.129s
user 0m38.442s
sys 1m3.350s
2007-04-10 16:34:00 +00:00
..
2007-03-12 18:22:55 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-04-09 21:35:07 +00:00
2007-04-07 00:45:27 +00:00
2007-03-28 16:48:40 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-08 16:07:02 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-04-08 10:52:28 +00:00
2007-04-10 15:43:37 +00:00
2007-04-04 20:52:03 +00:00
2007-04-05 09:21:24 +00:00
2007-04-10 16:34:00 +00:00
2007-03-14 22:08:04 +00:00
2007-04-08 16:07:02 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 15:43:37 +00:00
2007-03-20 11:30:28 +00:00
2007-03-20 11:30:28 +00:00
2007-03-25 21:50:18 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-03-20 11:30:28 +00:00
2007-02-06 01:20:12 +00:00
2007-02-06 01:20:12 +00:00
2007-04-08 15:08:42 +00:00
2007-02-03 17:28:39 +00:00
2007-02-03 17:28:39 +00:00
2007-03-09 16:43:01 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-03-28 16:48:40 +00:00
2007-04-08 16:07:02 +00:00
2007-04-10 15:42:06 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 15:43:37 +00:00
2007-04-04 20:29:15 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 15:43:37 +00:00
2007-04-09 21:35:07 +00:00
2007-04-08 16:07:02 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-04-10 09:38:35 +00:00
2007-04-10 15:43:37 +00:00
2007-02-03 17:28:39 +00:00
2007-02-03 17:28:39 +00:00
2007-02-03 17:28:39 +00:00
2007-02-03 17:28:39 +00:00
2007-03-07 00:07:42 +00:00
2007-04-10 15:43:37 +00:00
2007-04-10 15:43:37 +00:00