diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-09-06 17:56:57 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-09-06 17:59:45 +0200 |
commit | d327c6b190900dcb0cb7cda9008eb4f9893a92d8 (patch) | |
tree | 48d6cbbe27e260b01001326637f9f9e8905c906a /libbb/safe_poll.c | |
parent | 81a708393d851b6b35c9bc3efe0e76ae696c07cc (diff) | |
download | busybox-d327c6b190900dcb0cb7cda9008eb4f9893a92d8.tar.gz |
gzip: code shrink
Converted a few 16-bit variables and small arrays to 32-bit.
Stopped pulling desc->FOO members into temporary local variables
in gen_bitlen(): on register-starved arches, this is a loss,
temporaries go into stack slots.
Sprinkled a few "const" on pointer arguments.
function old new delta
pack_gzip 742 745 +3
gen_codes 101 97 -4
build_tree 886 833 -53
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 3/-57) Total: -54 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/safe_poll.c')
0 files changed, 0 insertions, 0 deletions