diff options
author | Ron Yorston | 2021-04-15 12:02:11 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-04-15 13:09:12 +0200 |
commit | 033fa3d5c65958a89fee155208ce8ac7f9049fcd (patch) | |
tree | daa0c68e8cf9ac9a56271e81ac7b970f999eea12 /shell/match.h | |
parent | d9d19896a9be5b5cf35d00cae61c9d5621044ccf (diff) | |
download | busybox-033fa3d5c65958a89fee155208ce8ac7f9049fcd.zip busybox-033fa3d5c65958a89fee155208ce8ac7f9049fcd.tar.gz |
vi: code shrink motion by paragraph
Use a hand-coded loop to search for paragraph boundaries instead
of calling char_search(). We were using a loop anyway to skip
consecutive newlines.
function old new delta
do_cmd 4792 4752 -40
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-40) Total: -40 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/match.h')
0 files changed, 0 insertions, 0 deletions