author | Paul Mackerras <paulus@samba.org> | |
Thu, 2 Mar 2006 11:56:44 +0000 (22:56 +1100) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Thu, 2 Mar 2006 11:56:44 +0000 (22:56 +1100) | ||
commit | 8ed164841564802cc0b063a6b365fb19e9a513d1 | |
tree | 12a22167d752aee6f12771667b249fe160fc1adb | tree | snapshot |
parent | 8f7d0cecf4b4999f71e0c5346de2f24beebd67dd | commit | diff |
gitk: Further speedups
Now we don't parse the commits as we are reading them, we just put
commit data on a list as a blob, and instead parse the commit when
we need the various parts of it, such as when a commit is drawn on
the canvas. This makes searching a bit more interesting: now we
scan through the commit blobs doing a string or regexp match to find
commits that might match, then for those that might match, we parse
the commit info (if it isn't already parsed) and do the matching
for the various fields as before.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Now we don't parse the commits as we are reading them, we just put
commit data on a list as a blob, and instead parse the commit when
we need the various parts of it, such as when a commit is drawn on
the canvas. This makes searching a bit more interesting: now we
scan through the commit blobs doing a string or regexp match to find
commits that might match, then for those that might match, we parse
the commit info (if it isn't already parsed) and do the matching
for the various fields as before.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |