summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2007-03-20 04:05:10 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2007-03-19 22:17:25 -0700
commit824f782c3f8f2db8e884b0c555d21ed4cfd6fff2 (patch)
treeae980f46cbbc5607496d1fe8897b0f87e3d947f9 /Documentation
parentblame: micro-optimize cmp_suspect() (diff)
downloadtgif-824f782c3f8f2db8e884b0c555d21ed4cfd6fff2.tar.xz
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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions