busybox/coreutils
Denys Vlasenko c29c2e60d8 sort: FEATURE_SORT_OPTIMIZE_MEMORY
On sorting all kernel/linux/arch/ *.[ch] files,
this reduces memory usage by 6%.

	yes | head -99999999 | sort

goes down from 1900Mb to 380 Mb.

function                                             old     new   delta
sort_main                                            862    1098    +236

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-04-04 17:03:41 +02:00
..
libcoreutils whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
basename.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
cat.c randomconfig fixes 2017-12-31 17:30:02 +01:00
chgrp.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
chmod.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
chown.c chown: fix a mistake in opt_complementary change 2017-12-31 17:59:16 +01:00
chroot.c make 17 state-changing execing applets (ex: "nice PROG ARGS") noexec 2017-08-04 19:55:01 +02:00
cksum.c cksum: code shrink 2018-02-01 11:44:52 +01:00
comm.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
Config.src config: deindent all help texts 2017-07-21 09:50:55 +02:00
cp.c cp: fix option handling in non-longopt config 2018-02-11 21:25:23 +01:00
cut.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
date.c date: maybe_set_utc only once 2017-10-05 12:53:25 +02:00
dd.c dd: add 'fullblock' iflag 2018-01-25 19:00:19 +01:00
df.c df: do "rootfs" check sooner 2018-02-23 17:08:32 +01:00
dirname.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
dos2unix.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
du.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
echo.c do not use `a' quoting style in comments 2017-08-02 14:26:33 +02:00
env.c env: -u option fails due to typo 2017-12-25 21:36:05 +01:00
expand.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
expr.c expr: make it NOEXEC 2017-08-07 23:23:18 +02:00
factor.c config: deindent all help texts 2017-07-21 09:50:55 +02: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
fsync.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
head.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
hostid.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
id_test.sh id: coreutils compat by Tito + test script 2008-10-29 00:27:31 +00:00
id.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
install.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +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 libarchive: do not extract unsafe symlinks unless $EXTRACT_UNSAFE_SYMLINKS=1 2017-08-10 11:52:42 +02:00
ln.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
logname.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
ls.c randomconfig fixes 2017-12-31 17:30:02 +01:00
md5_sha1_sum.c md5sum: use config help text similar to other "sum" tools 2018-03-08 12:49:39 +01:00
mkdir.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
mkfifo.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
mknod.c mknod: better --help, much clearer code 2018-01-08 11:22:37 +01:00
mktemp.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
mv.c mv: make it NOEXEC 2018-01-14 14:41:52 +01:00
nice.c nice: code shrink 2018-01-08 10:13:11 +01:00
nl.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
nohup.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
nproc.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
od_bloaty.c od: move address_fmt[] from data to globals. 8 less bytes in data section 2018-02-22 12:14:55 +01:00
od.c do not use `a' quoting style in comments 2017-08-02 14:26:33 +02:00
paste.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
printenv.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
printf.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
pwd.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
readlink.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
realpath.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
rm.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
rmdir.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
seq.c NOFORK fixes 2017-08-02 16:37:39 +02:00
shred.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
shuf.c regularize format of source file headers, no code changes 2017-09-18 16:28:43 +02:00
sleep.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
sort.c sort: FEATURE_SORT_OPTIMIZE_MEMORY 2018-04-04 17:03:41 +02:00
split.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
stat.c stat: fix a typo: s/romfs/ramfs/, closes 10876 2018-03-31 02:45:22 +02:00
stty.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
sum.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
sync.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
tac.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
tail.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
tee.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
test_ptr_hack.c *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
test.c test: fix 4-argument case 2017-07-31 19:21:51 +02:00
timeout.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
touch.c getopt32: remove applet_long_options 2017-08-08 17:09:40 +02:00
tr.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
true.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
truncate.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
tty.c new NOFORKs: clear, nproc, tty, uname, arch, unlink, which 2017-08-03 03:29:32 +02:00
uname.c randomconfig fixes 2017-12-31 17:30:02 +01:00
uniq.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
unlink.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
usleep.c NOFORK fixes 2017-08-02 16:37:39 +02:00
uudecode.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
uuencode.c whitespace and comment format fixes, no code changes 2017-10-05 14:40:24 +02:00
wc.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
who.c whitespace and comment format fixes, no code changes 2017-10-05 15:19:25 +02:00
whoami.c config: deindent all help texts 2017-07-21 09:50:55 +02:00
yes.c NOFORK fixes 2017-08-02 16:37:39 +02:00