aboutsummaryrefslogtreecommitdiff
path: root/archival/libarchive/unxz/xz_dec_lzma2.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-17 16:13:32 +0200
commit10ad622dc2a9fb6563fab13719ead8baf15ff9e4 (patch)
tree82312d6f38a517dcc7c0004f78d76c667f5a674b /archival/libarchive/unxz/xz_dec_lzma2.c
parentd85352b4ff51694cb35b429e4cef53302c9e7076 (diff)
downloadbusybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.gz
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.tar.bz2
busybox-w32-10ad622dc2a9fb6563fab13719ead8baf15ff9e4.zip
Spelling fixes in comments, documentation, tests and examples
By klemens <ka7@github.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival/libarchive/unxz/xz_dec_lzma2.c')
-rw-r--r--archival/libarchive/unxz/xz_dec_lzma2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/libarchive/unxz/xz_dec_lzma2.c b/archival/libarchive/unxz/xz_dec_lzma2.c
index 351251f7c..bca41e705 100644
--- a/archival/libarchive/unxz/xz_dec_lzma2.c
+++ b/archival/libarchive/unxz/xz_dec_lzma2.c
@@ -486,11 +486,11 @@ static __always_inline void XZ_FUNC rc_normalize(struct rc_dec *rc)
486} 486}
487 487
488/* 488/*
489 * Decode one bit. In some versions, this function has been splitted in three 489 * Decode one bit. In some versions, this function has been split in three
490 * functions so that the compiler is supposed to be able to more easily avoid 490 * functions so that the compiler is supposed to be able to more easily avoid
491 * an extra branch. In this particular version of the LZMA decoder, this 491 * an extra branch. In this particular version of the LZMA decoder, this
492 * doesn't seem to be a good idea (tested with GCC 3.3.6, 3.4.6, and 4.3.3 492 * doesn't seem to be a good idea (tested with GCC 3.3.6, 3.4.6, and 4.3.3
493 * on x86). Using a non-splitted version results in nicer looking code too. 493 * on x86). Using a non-split version results in nicer looking code too.
494 * 494 *
495 * NOTE: This must return an int. Do not make it return a bool or the speed 495 * NOTE: This must return an int. Do not make it return a bool or the speed
496 * of the code generated by GCC 3.x decreases 10-15 %. (GCC 4.3 doesn't care, 496 * of the code generated by GCC 3.x decreases 10-15 %. (GCC 4.3 doesn't care,