gitk: Various speed improvements
commit8f7d0cecf4b4999f71e0c5346de2f24beebd67dd
authorPaul Mackerras <paulus@samba.org>
Tue, 28 Feb 2006 11:10:19 +0000 (28 22:10 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 28 Feb 2006 11:10:19 +0000 (28 22:10 +1100)
tree5feeb9153c158a267bfc47d020ad2a43ef895892
parentaa81d97476de941015224c99092cb1f49f451a23
gitk: Various speed improvements

This rearranges the code a little to eliminate some procedure calls
and reduce the number of globals accessed.  It makes rowidlist and
rowoffsets lists rather than arrays, and removes the lineid array,
since $lineid($l) was the same as [lindex $displayorder $l], and the
latter is a little faster.

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk