busybox/include
Denys Vlasenko a1a448347e libbb: split bb_get_chunk_from_file and bb_get_chunk_with_continuation
This also moves bb_get_chunk_with_continuation into its sole user,
parse_config.c.
This allows to optimize both functions separately,
they need to be optimized for speed.
(this need was highlighted by slow modprobe caused in part by slow
bb_get_chunk_with_continuation in config parser).

function                                             old     new   delta
bb_get_chunk_from_file                                 7     130    +123
config_read                                          457     558    +101
bb_get_chunk_with_continuation                       194       -    -194
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 2/0 up/down: 224/-194)           Total: 30 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-06-17 03:37:43 +02:00
..
.gitignore .gitignore: add missing ignores 2011-03-06 19:54:15 +01:00
applet_metadata.h applet_tables: do not include libbb.h, that header ir for target builds 2011-03-28 01:23:38 +02:00
applets.src.h disable length applet. ${#var} and echo -n "$var" | wc -c are portable equivalents 2011-01-26 01:21:20 +01:00
ar.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
archive.h tar: store negative mtime as 0; pack very large files using base-256 encoding 2011-05-04 21:14:12 +02:00
busybox.h applet_tables: do not include libbb.h, that header ir for target builds 2011-03-28 01:23:38 +02:00
dump.h *: whitespace fixes 2010-10-28 18:57:19 +02:00
fix_u32.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
grp_.h whitespace cleanup 2010-10-29 11:46:52 +02:00
inet_common.h more thorough fix for systems with strange socklen_t 2010-02-02 12:45:38 +01:00
libbb.h libbb: split bb_get_chunk_from_file and bb_get_chunk_with_continuation 2011-06-17 03:37:43 +02:00
liblzo_interface.h *: move lzo compressor code to archival/libunarchive/. No code changes 2010-11-03 02:27:49 +01:00
platform.h *: simplify Ethernet header includes 2011-06-10 05:17:59 +02:00
pwd_.h whitespace cleanup 2010-10-29 11:46:52 +02:00
rtc_.h whitespace cleanup 2010-10-29 11:46:52 +02:00
shadow_.h move passwd, shadow, group and gshadow path definitions to libbb.h 2011-01-16 23:39:45 +01:00
unicode.h ash,hush: recheck LANG before every line input 2011-03-23 17:59:27 +01:00
usage.src.h move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
volume_id.h blkid: optional support for TYPE="fstype" 2010-12-30 00:40:11 +01:00
xatonum.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00
xregex.h *: make GNU licensing statement forms more regular 2010-08-16 20:14:46 +02:00