summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2013-03-01 14:43:07 +0100
committerDenys Vlasenko2013-03-01 14:43:07 +0100
commita2d04e0702dcdd8b4d2e41145253608b8fd95c9d (patch)
tree1a53bdda9ca009d6f24049d0304a9cdf86aa792f
parentc09fd27c0a1bc45b3bca4347f3ef7713c3898656 (diff)
downloadbusybox-a2d04e0702dcdd8b4d2e41145253608b8fd95c9d.zip
busybox-a2d04e0702dcdd8b4d2e41145253608b8fd95c9d.tar.gz
decompress_unlzma: 10% speedup in "small" code
text data bss dec hex filename 1796 0 0 1796 704 decompress_unlzma.o 1801 0 0 1801 709 decompress_unlzma.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/libarchive/decompress_unlzma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libarchive/decompress_unlzma.c b/archival/libarchive/decompress_unlzma.c
index dd08e77..187035d 100644
--- a/archival/libarchive/decompress_unlzma.c
+++ b/archival/libarchive/decompress_unlzma.c
@@ -114,7 +114,7 @@ static speed_inline int rc_is_bit_1(rc_t *rc, uint16_t *p)
}
/* Called 4 times in unlzma loop */
-static speed_inline int rc_get_bit(rc_t *rc, uint16_t *p, int *symbol)
+static ALWAYS_INLINE int rc_get_bit(rc_t *rc, uint16_t *p, int *symbol)
{
int ret = rc_is_bit_1(rc, p);
*symbol = *symbol * 2 + ret;