diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-23 03:16:08 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-23 03:16:08 +0200 |
commit | f2cbb03a378aa48f2e08b64877d54da3fab4ea6a (patch) | |
tree | 35ff7449ba394e4e0a84a19a70eafa7b181d8d71 /archival/gzip.c | |
parent | 7b4cd6f7b07b816c4b36d686fe47c5cfec7f5abf (diff) | |
download | busybox-w32-f2cbb03a378aa48f2e08b64877d54da3fab4ea6a.tar.gz busybox-w32-f2cbb03a378aa48f2e08b64877d54da3fab4ea6a.tar.bz2 busybox-w32-f2cbb03a378aa48f2e08b64877d54da3fab4ea6a.zip |
*: optimize most of isXXXXX() macros
text data bss dec hex filename
824164 453 6812 831429 cafc5 busybox_old
823730 453 6812 830995 cae13 busybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/gzip.c')
-rw-r--r-- | archival/gzip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/gzip.c b/archival/gzip.c index 1e56c9dec..71505698c 100644 --- a/archival/gzip.c +++ b/archival/gzip.c | |||
@@ -1173,7 +1173,7 @@ static void gen_codes(ct_data * tree, int max_code) | |||
1173 | 1173 | ||
1174 | Tracec(tree != G2.static_ltree, | 1174 | Tracec(tree != G2.static_ltree, |
1175 | (stderr, "\nn %3d %c l %2d c %4x (%x) ", n, | 1175 | (stderr, "\nn %3d %c l %2d c %4x (%x) ", n, |
1176 | (isgraph(n) ? n : ' '), len, tree[n].Code, | 1176 | (n > ' ' ? n : ' '), len, tree[n].Code, |
1177 | next_code[len] - 1)); | 1177 | next_code[len] - 1)); |
1178 | } | 1178 | } |
1179 | } | 1179 | } |
@@ -1541,7 +1541,7 @@ static void compress_block(ct_data * ltree, ct_data * dtree) | |||
1541 | lc = G1.l_buf[lx++]; | 1541 | lc = G1.l_buf[lx++]; |
1542 | if ((flag & 1) == 0) { | 1542 | if ((flag & 1) == 0) { |
1543 | SEND_CODE(lc, ltree); /* send a literal byte */ | 1543 | SEND_CODE(lc, ltree); /* send a literal byte */ |
1544 | Tracecv(isgraph(lc), (stderr, " '%c' ", lc)); | 1544 | Tracecv(lc > ' ', (stderr, " '%c' ", lc)); |
1545 | } else { | 1545 | } else { |
1546 | /* Here, lc is the match length - MIN_MATCH */ | 1546 | /* Here, lc is the match length - MIN_MATCH */ |
1547 | code = G2.length_code[lc]; | 1547 | code = G2.length_code[lc]; |