1
0
mirror of https://github.com/git/git.git synced 2025-03-15 21:31:12 +00:00
Tay Ray Chuan 9f37c27593 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>
2011-07-12 09:29:39 -07:00
..
2011-07-12 09:29:20 -07:00
2011-07-12 09:29:20 -07:00
2011-07-12 09:29:20 -07:00
2011-07-12 09:29:20 -07:00
2007-06-07 00:04:01 -07:00
2011-07-12 09:29:39 -07:00
2007-06-07 00:04:01 -07:00
2007-06-07 00:04:01 -07:00