This little series refactors the diffcore-pickaxe a bit and then optimizes its search for "needle" inside the haystacks. Junio C Hamano (4): diffcore-pickaxe: refactor diffcore_pickaxe() diffcore-pickaxe: micro-optimize has_match() function diffcore-pickaxe: further refactor count_match() diffcore-pickaxe: optimize by trimming common initial and trailing parts diffcore-pickaxe.c | 176 +++++++++++++++++++++++++++++++++++----------------- 1 files changed, 118 insertions(+), 58 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html