git-commit-vandalism/xdiff
Tay Ray Chuan 8c912eea94 teach --histogram to diff
Port JGit's HistogramDiff algorithm over to C. Rough numbers (TODO) show
that it is faster than its --patience cousin, as well as the default
Meyers algorithm.

The implementation has been reworked to use structs and pointers,
instead of bitmasks, thus doing away with JGit's 2^28 line limit.

We also use xdiff's default hash table implementation (xdl_hash_bits()
with XDL_HASHLONG()) for convenience.

Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-07-12 09:29:20 -07:00
..
xdiff.h teach --histogram to diff 2011-07-12 09:29:20 -07:00
xdiffi.c teach --histogram to diff 2011-07-12 09:29:20 -07:00
xdiffi.h teach --histogram to diff 2011-07-12 09:29:20 -07:00
xemit.c diff: avoid repeated scanning while looking for funcname 2010-09-30 11:43:07 -07:00
xemit.h Allow alternate "low-level" emit function from xdl_diff 2008-10-25 12:09:31 -07:00
xhistogram.c teach --histogram to diff 2011-07-12 09:29:20 -07:00
xinclude.h War on whitespace 2007-06-07 00:04:01 -07:00
xmacros.h xdiff: cast arguments for ctype functions to unsigned char 2010-10-06 10:46:45 -07:00
xmerge.c xdiff: cast arguments for ctype functions to unsigned char 2010-10-06 10:46:45 -07:00
xpatience.c xdiff/xpatience: factor out fall-back-diff function 2011-07-07 09:41:24 -07:00
xprepare.c xdiff/xprepare: refactor abort cleanups 2011-07-07 09:37:21 -07:00
xprepare.h War on whitespace 2007-06-07 00:04:01 -07:00
xtypes.h War on whitespace 2007-06-07 00:04:01 -07:00
xutils.c xdiff/xpatience: factor out fall-back-diff function 2011-07-07 09:41:24 -07:00
xutils.h xdiff/xpatience: factor out fall-back-diff function 2011-07-07 09:41:24 -07:00