summaryrefslogtreecommitdiffhomepage
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-10 06:29:06 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-10 06:29:06 +0100
commitdf4e16c9af6d6270d91d17d31c6098ecb259e5cc (patch)
treed3ec14d52efd21975d9f022d417115ff317528a4 /libbb
parent77350aa93392d36dc419d3e11bda6bf9bed993ff (diff)
wget: use FEATURE_COPYBUF_KB-sized buffer. Much faster for local transfers
function old new delta base64enc - 53 +53 gethdr 190 200 +10 ftpcmd 129 133 +4 progress_meter 160 122 -38 retrieve_file_data 431 392 -39 base64enc_512 46 - -46 wget_main 2456 2220 -236 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/3 up/down: 67/-359) Total: -292 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/Config.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/Config.src b/libbb/Config.src
index dfb897d5f..18bdc5151 100644
--- a/libbb/Config.src
+++ b/libbb/Config.src
@@ -156,7 +156,7 @@ config FEATURE_COPYBUF_KB
range 1 1024
default 4
help
- Size of buffer used by cp, mv, install etc.
+ Size of buffer used by cp, mv, install, wget etc.
Buffers which are 4 kb or less will be allocated on stack.
Bigger buffers will be allocated with mmap, with fallback to 4 kb
stack buffer if mmap fails.