diff options
author | Ron Yorston | 2021-03-28 13:23:51 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-03-29 12:16:21 +0200 |
commit | a25b4c2c4245083411011e5054ba859d7c6b8dd6 (patch) | |
tree | 63b44eb29af921279b99ddace1f3d7d5a14c1085 /modutils/depmod_process.sh | |
parent | d56da680577ae5ad43833040a310706e8331c684 (diff) | |
download | busybox-a25b4c2c4245083411011e5054ba859d7c6b8dd6.zip busybox-a25b4c2c4245083411011e5054ba859d7c6b8dd6.tar.gz |
vi: code shrink
- In the '+' and '-' commands the call to dot_skip_over_ws() is
only needed for the final line processed so it can be moved out
of the while loop.
- Marking sync_cursor() NOINLINE doesn't seem to offer the same
advantages it did in 2009 (commit adf922ec2).
function old new delta
refresh 694 974 +280
do_cmd 4900 4887 -13
sync_cursor 336 - -336
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/1 up/down: 280/-349) Total: -69 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/depmod_process.sh')
0 files changed, 0 insertions, 0 deletions