1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-30 05:47:53 +01:00
git/xdiff
Johannes Schindelin 824f782c3f xdiff/xutils.c(xdl_hash_record): factor out whitespace handling
Since in at least one use case, xdl_hash_record() takes over 15% of the
CPU time, it makes sense to even micro-optimize it. For many cases, no
whitespace special handling is needed, and in these cases we should not
even bother to check for whitespace in _every_ iteration of the loop.

Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2007-03-19 22:17:25 -07:00
..
xdiff.h teach diff machinery about --ignore-space-at-eol 2007-02-13 21:40:42 -08:00
xdiffi.c xdiff: add xdl_merge() 2006-12-02 17:28:19 -08:00
xdiffi.h xdiff: add xdl_merge() 2006-12-02 17:28:19 -08:00
xemit.c Increase length of function name buffer 2006-11-23 22:51:41 -08:00
xemit.h Use a *real* built-in diff generator 2006-03-25 16:49:58 -08:00
xinclude.h xdiff: Show function names in hunk headers. 2006-03-27 18:43:51 -08:00
xmacros.h Fix hash function in xdiff library 2006-10-16 21:27:44 -07:00
xmerge.c Fix yet another subtle xdl_merge() bug 2006-12-30 18:05:05 -08:00
xprepare.c Teach diff about -b and -w flags 2006-06-23 17:35:27 -07:00
xprepare.h Use a *real* built-in diff generator 2006-03-25 16:49:58 -08:00
xtypes.h Use a *real* built-in diff generator 2006-03-25 16:49:58 -08:00
xutils.c xdiff/xutils.c(xdl_hash_record): factor out whitespace handling 2007-03-19 22:17:25 -07:00
xutils.h Teach diff about -b and -w flags 2006-06-23 17:35:27 -07:00