vi: a few trivial optimizations to keyboard reading code; bump timeout to 50s.
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 16 Oct 2008 09:46:07 +0000 (09:46 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 16 Oct 2008 09:46:07 +0000 (09:46 -0000)
commit8ef801b40ce0be20ae55676d560d4040c5f1edf0
tree2ab6df24e5d26b5762c634ca673d6ba0e84160f9
parent7960ea8918c601c6f5c35f50a118a51ca0fbea84
vi: a few trivial optimizations to keyboard reading code; bump timeout to 50s.

function                                             old     new   delta
edit_file                                            901     912     +11
count_lines                                           74      72      -2
readit                                               306     289     -17
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 11/-19)             Total: -8 bytes
editors/vi.c