wget: use FEATURE_COPYBUF_KB-sized buffer. Much faster for local transfers
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Feb 2011 05:29:06 +0000 (06:29 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 10 Feb 2011 05:29:06 +0000 (06:29 +0100)
commitdf4e16c9af6d6270d91d17d31c6098ecb259e5cc
treed3ec14d52efd21975d9f022d417115ff317528a4
parent77350aa93392d36dc419d3e11bda6bf9bed993ff
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>
libbb/Config.src
networking/wget.c