]> granicus.if.org Git - procps-ng/commit
top: tweak scroll coordinates msg handling (again)
authorJim Warner <james.warner@comcast.net>
Tue, 23 Oct 2012 03:22:22 +0000 (22:22 -0500)
committerCraig Small <csmall@enc.com.au>
Fri, 26 Oct 2012 07:58:42 +0000 (18:58 +1100)
commit99010db0976c353bad8fea72154791c06e4faa19
tree77b29e36426e0365092ba1f3d15882d3fb6ed3ef
parent0163abb48b28f9fca20ce30b83efa0abddecbc0f
top: tweak scroll coordinates msg handling (again)

An earlier commit improved the scroll coordinates
message performance by offloading most of the work
to those occasions when column headers were rebuilt.

The only remaining per-frame costs were the addition
of some terminfo escapes and the Frame_maxtask count.

This commit further reduces those per-frame costs to
the absolute minimum.

Reference:
commit fbfaa868babb0974c799d45e208619412afbdfef

Signed-off-by: Jim Warner <james.warner@comcast.net>
top/top.c