diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-15 01:12:26 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-01-15 01:12:26 +0100 |
commit | 30a8652fbf16884490cee4a624f039a9ab587269 (patch) | |
tree | cf6235392344386a06849e04fd5deb4f364f0a71 /libbb/Config.src | |
parent | 60cb48ca50fcff24aa6c3927f51e4a508fa118f4 (diff) | |
download | busybox-w32-30a8652fbf16884490cee4a624f039a9ab587269.tar.gz busybox-w32-30a8652fbf16884490cee4a624f039a9ab587269.tar.bz2 busybox-w32-30a8652fbf16884490cee4a624f039a9ab587269.zip |
sha3: make size/speed optimization decision configurable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/Config.src')
-rw-r--r-- | libbb/Config.src | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libbb/Config.src b/libbb/Config.src index ee1b66a45..19021fed1 100644 --- a/libbb/Config.src +++ b/libbb/Config.src | |||
@@ -28,6 +28,16 @@ config MD5_SMALL | |||
28 | 2 3.0 5088 | 28 | 2 3.0 5088 |
29 | 3 (smallest) 5.1 4912 | 29 | 3 (smallest) 5.1 4912 |
30 | 30 | ||
31 | config SHA3_SMALL | ||
32 | int "SHA3: Trade bytes for speed (0:fast, 1:slow)" | ||
33 | default 1 | ||
34 | range 0 1 | ||
35 | help | ||
36 | Trade binary size versus speed for the sha3sum algorithm. | ||
37 | SHA3_SMALL=0 compared to SHA3_SMALL=1 (approximate): | ||
38 | 64-bit x86: +270 bytes of code, 45% faster | ||
39 | 32-bit x86: +450 bytes of code, 75% faster | ||
40 | |||
31 | config FEATURE_FAST_TOP | 41 | config FEATURE_FAST_TOP |
32 | bool "Faster /proc scanning code (+100 bytes)" | 42 | bool "Faster /proc scanning code (+100 bytes)" |
33 | default y | 43 | default y |