1
0
mirror of https://github.com/git/git.git synced 2024-09-30 17:11:23 +02:00
Git Source Code Mirror. Please follow Documentation/SubmittingPatches procedure for any of your improvements.
Go to file
Shawn O. Pearce 2f85b7e4b4 git-gui: Switch internal blame structure to Tcl lists
The Tcl list datatype is significantly faster to work with than
the array type, especially if our indexes are a consecutive set
of numbers, like say line numbers in a file.

This rather large change reorganizes the internal data structure
of the blame viewer to use a proper Tcl list for the annotation
information about a line.  Each line is given its own list within
the larger line_data list, where the indexes correspond to various
facts about that particular line.

The interface does seem to be more responsive this way, with less
time required by Tcl to process blame, and to switch to another
version of the same file.  It could just be a placebo effect, but
either way most Tcl experts perfer lists for this type of work over
arrays.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2007-06-06 01:26:50 -04:00
lib git-gui: Switch internal blame structure to Tcl lists 2007-06-06 01:26:50 -04:00
.gitignore
git-gui.sh New selection indication and softer colors 2007-06-06 01:14:12 -04:00
GIT-VERSION-GEN git gui 0.7.0 2007-05-10 17:54:45 -04:00
Makefile Revert "Make the installation target of git-gui a little less chatty" 2007-06-02 21:01:29 -04:00