[PATCH] lineedit: trivial codeshrink for vi-mode

Denys Vlasenko vda.linux at googlemail.com
Sun Aug 14 21:31:34 UTC 2016


On Fri, May 29, 2015 at 10:08 AM, Natanael Copa <ncopa at alpinelinux.org> wrote:
> Introduce and use BB_isalnum_or_underscore().
>
> bloatcheck on x86_64:
> function                                             old     new   delta
> BB_isalnum_or_underscore                               -      46     +46
> vi_end_motion                                        176     166     -10
> vi_back_motion                                       169     155     -14
> vi_word_motion                                       190     172     -18
> BB_isalnum                                            39       -     -39
> ------------------------------------------------------------------------------
> (add/remove: 1/1 grow/shrink: 0/3 up/down: 46/-81)            Total: -35
> bytes


Does not build with !CONFIG_UNICODE_SUPPORT, fixed it

Applied, thanks!


More information about the busybox mailing list