diff options
author | Timo Teras <timo.teras@iki.fi> | 2011-06-20 09:49:56 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-20 09:49:56 +0200 |
commit | adcabf3235a13e77a32ff2a7b7cf80be8ee3dfe3 (patch) | |
tree | 5bb62bad050d86c1b711a19a1ea9e7ae525b9311 /libbb/makedev.c | |
parent | e12e0acb92329f95a77121f489b491d84b6a2c33 (diff) | |
download | busybox-adcabf3235a13e77a32ff2a7b7cf80be8ee3dfe3.tar.gz |
parse_config: use getline. BIG speedup with glibc (~40%).
function old new delta
config_read 559 604 +45
getline - 23 +23
config_close 29 49 +20
find_pair 169 187 +18
showmode 330 338 +8
hash_find 233 234 +1
builtin_umask 133 132 -1
lzo1x_optimize 1434 1429 -5
test_main 253 247 -6
buffer_fill_and_print 196 179 -17
create_J 1849 1826 -23
config_free_data 37 - -37
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 5/5 up/down: 138/-89) Total: 26 bytes
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/makedev.c')
0 files changed, 0 insertions, 0 deletions