[PATCH 0/5] More fixes to less

Ron Yorston rmy at pobox.com
Fri Jul 24 13:27:08 UTC 2015


This patch series supersedes two of my recent patches to less that
haven't been committed.  It also adds a whole lot more.

The overall bloat introduced by the series is:

function                                             old     new   delta
update_num_lines                                       -     127    +127
goto_lineno                                            -     111    +111
cap_cur_fline                                          -     101    +101
at_end                                                 -      63     +63
buffer_to_line                                         -      56     +56
reinitialize                                         197     245     +48
buffer_up                                             35      66     +31
less_main                                           2606    2615      +9
goto_match                                           125     127      +2
status_print                                         111     109      -2
buffer_down                                           81      56     -25
read_lines                                           819     770     -49
getch_nowait                                         319     264     -55
buffer_line                                           64       -     -64
m_status_print                                       409     266    -143
------------------------------------------------------------------------------
(add/remove: 5/1 grow/shrink: 4/5 up/down: 548/-338)          Total: 210 bytes

Ron


More information about the busybox mailing list