busybox/coreutils
Denys Vlasenko 689d0650ab libbb: shrink recursive_action() by reducing memory pressure
function                                             old     new   delta
recursive_action1                                      -     316    +316
file_action_grep                                     161     164      +3
add_to_prg_cache_if_socket                           202     205      +3
depmod_main                                          509     511      +2
writeFileToTarball                                   488     489      +1
parse_module                                         281     282      +1
fileAction                                           207     208      +1
act                                                  189     190      +1
add_to_dirlist                                        65      64      -1
writeTarFile                                         196     194      -2
uuidcache_init                                        47      45      -2
uuidcache_check_device                               109     107      -2
true_action                                            8       6      -2
run_parts_main                                       310     308      -2
netstat_main                                         534     532      -2
lsusb_main                                            29      27      -2
lspci_main                                            45      43      -2
initial_scan                                         138     136      -2
grep_main                                            845     843      -2
find_main                                            482     480      -2
config_file_action                                   437     435      -2
chmod_main                                           142     140      -2
dirAction                                             14      10      -4
diff_main                                           1544    1540      -4
chown_main                                           154     148      -6
skip_dir                                             136     129      -7
dir_act                                              191     184      -7
recursive_action                                     453      69    -384
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 7/20 up/down: 328/-439)        Total: -111 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2020-10-01 21:52:16 +02:00
..
libcoreutils whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
basename.c config: update size information 2018-12-28 03:20:17 +01:00
cat.c cat,nl: fix handling of open errors 2018-11-29 11:44:10 +01:00
chgrp.c chgrp: correct the usage for non-desktop chgrp calls 2019-11-17 17:06:31 +01:00
chmod.c libbb: shrink recursive_action() by reducing memory pressure 2020-10-01 21:52:16 +02:00
chown.c libbb: shrink recursive_action() by reducing memory pressure 2020-10-01 21:52:16 +02:00
chroot.c make 17 state-changing execing applets (ex: "nice PROG ARGS") noexec 2017-08-04 19:55:01 +02:00
cksum.c config: update size information 2018-12-28 03:20:17 +01:00
comm.c config: update size information 2018-12-28 03:20:17 +01:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
cp.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
cut.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
date.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
dd.c dd: fix handling of short result of full_write(), closes 11711 2019-05-14 17:49:14 +02:00
df.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
dirname.c config: update size information 2018-12-28 03:20:17 +01:00
dos2unix.c config: update size information 2018-12-28 03:20:17 +01:00
du.c du: don't count duplicate arguments. Closes 5288 2019-02-19 17:08:39 +01:00
echo.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
env.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
expand.c unexpand: correct behavior for --first-only --tabs=4 2020-06-09 15:40:49 +02:00
expr.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
factor.c config: update size information 2018-12-28 03:20:17 +01:00
false.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
fold.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
head.c config: update size information 2018-12-28 03:20:17 +01:00
hostid.c config: update size information 2018-12-28 03:20:17 +01:00
id_test.sh id: coreutils compat by Tito + test script 2008-10-29 00:27:31 +00:00
id.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
install.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
Kbuild.src shells: make hush test optional, rename ASH_BUILTIN_foo -> ASH_foo 2017-01-10 15:13:30 +01:00
link.c config: update size information 2018-12-28 03:20:17 +01:00
ln.c ln: --no-target-directory implies --no-dereference 2019-10-08 14:07:50 +02:00
logname.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
ls.c ls: fix SEGV when --color is used and ENABLE_LS_COLOR=n 2019-05-26 13:53:41 +02:00
md5_sha1_sum.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
mkdir.c config: update size information 2018-12-28 03:20:17 +01:00
mkfifo.c config: update size information 2018-12-28 03:20:17 +01:00
mknod.c config: update size information 2018-12-28 03:20:17 +01:00
mktemp.c config: update size information 2018-12-28 03:20:17 +01:00
mv.c config: update size information 2018-12-28 03:20:17 +01:00
nice.c config: update size information 2018-12-28 03:20:17 +01:00
nl.c config: update size information 2018-12-28 03:20:17 +01:00
nohup.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
nproc.c config: update size information 2018-12-28 03:20:17 +01:00
od_bloaty.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
od.c do not use `a' quoting style in comments 2017-08-02 14:26:33 +02:00
paste.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
printenv.c config: update size information 2018-12-28 03:20:17 +01:00
printf.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
pwd.c config: update size information 2018-12-28 03:20:17 +01:00
readlink.c config: update size information 2018-12-28 03:20:17 +01:00
realpath.c config: update size information 2018-12-28 03:20:17 +01:00
rm.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
rmdir.c config: update size information 2018-12-28 03:20:17 +01:00
seq.c config: update size information 2018-12-28 03:20:17 +01:00
shred.c config: update size information 2018-12-28 03:20:17 +01:00
shuf.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
sleep.c sleep: support "inf" 2019-01-07 15:20:56 +01:00
sort.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
split.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
stat.c build system: drop PLATFORM_LINUX 2020-08-13 17:12:56 +02:00
stty.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
sum.c config: update size information 2018-12-28 03:20:17 +01:00
sync.c fsync,sync: merge into one source module 2019-04-02 14:55:29 +02:00
tac.c config: update size information 2018-12-28 03:20:17 +01:00
tail.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
tee.c tee: do not intercept SIGPIPE 2019-10-07 14:25:45 +02:00
test_ptr_hack.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
test.c clang/llvm 9 fix - do not eliminate a store to a fake "const" 2019-10-25 12:12:22 +02:00
timeout.c config: update size information 2018-12-28 03:20:17 +01:00
touch.c config: update size information 2018-12-28 03:20:17 +01:00
tr.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
true.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
truncate.c config: update size information 2018-12-28 03:20:17 +01:00
tty.c config: update size information 2018-12-28 03:20:17 +01:00
uname.c config: update size information 2018-12-28 03:20:17 +01:00
uniq.c config: update size information 2018-12-28 03:20:17 +01:00
unlink.c config: update size information 2018-12-28 03:20:17 +01:00
usleep.c config: update size information 2018-12-28 03:20:17 +01:00
uudecode.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
uuencode.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
wc.c config: update size information 2018-12-28 03:20:17 +01:00
who.c config: update size information 2018-12-28 03:20:17 +01:00
whoami.c config: update size information 2018-12-28 03:20:17 +01:00
yes.c config: update size information 2018-12-28 03:20:17 +01:00