summaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorTay Ray Chuan <rctay89@gmail.com>2011-07-12 14:10:26 +0800
committerJunio C Hamano <gitster@pobox.com>2011-07-12 09:29:39 -0700
commit9f37c275938e1fbca7165872dad039874add09cd (patch)
tree543b905ac5da05640742b96becbcecd8423a3815 /git-gui/lib/commit.tcl
parent8c912eea94a2138e8bc608f7c390eb0b313effb0 (diff)
downloadgit-9f37c275938e1fbca7165872dad039874add09cd.tar.gz
xdiff/xprepare: skip classification
xdiff performs "classification" of records (xdl_classify_record()), replacing hashes (xrecord_t.ha) with a unique identifier of the record/line and building a hash table (xrecord_t.rhash) of records. This is then used to "cleanup" records (xdl_cleanup_records()). We don't need any of that in histogram diff, so we omit calls to these functions. We also skip allocating memory to the hash table, rhash, as it is no longer used. This gives us a small boost in performance. Signed-off-by: Tay Ray Chuan <rctay89@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions