Find a file
Shawn O. Pearce 6b29267542 git-gui: More performance improvements to rescan logic.
Removed as much as possible from the merge_state proc, which is where
we spent most of our time before UI update.  This change makes our
running time match that of git status, except that we then need about
7 additional seconds to draw 6900 files on screen.

Apparently the [array names a -exact $v] operator in Tcl is O(n) rather
than O(1), which is really quite disappointing given that each array can
only have one entry for a given value.  Switching to a lookup with a
catch (whose error we ignore) runs in O(1) time and bought us most of
that improvement.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2006-11-07 23:48:20 -05:00
git-citool git-gui: Finished commit implementation. 2006-11-07 03:05:17 -05:00
git-gui git-gui: More performance improvements to rescan logic. 2006-11-07 23:48:20 -05:00
TODO git-gui: Updated TODO list now that pull is starting to work. 2006-11-07 05:06:40 -05:00