author | Paul Mackerras <paulus@samba.org> | |
Tue, 28 Feb 2006 11:10:19 +0000 (22:10 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Tue, 28 Feb 2006 11:10:19 +0000 (22:10 +1100) | ||
commit | 8f7d0cecf4b4999f71e0c5346de2f24beebd67dd | |
tree | 5feeb9153c158a267bfc47d020ad2a43ef895892 | tree | snapshot |
parent | aa81d97476de941015224c99092cb1f49f451a23 | commit | diff |
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>
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 | diff | blob | history |