1 /* xdelta 3 - delta compression tools and library
2 * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007. Joshua P. MacDonald
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 /******************************************************************
21 ******************************************************************/
26 #define LLOOK stream->smatcher.large_look
27 #define LSTEP stream->smatcher.large_step
28 #define SLOOK stream->smatcher.small_look
29 #define SCHAIN stream->smatcher.small_chain
30 #define SLCHAIN stream->smatcher.small_lchain
31 #define MAXLAZY stream->smatcher.max_lazy
32 #define LONGENOUGH stream->smatcher.long_enough
50 /************************************************************
51 FASTEST string matcher
52 **********************************************************/
54 #define TEMPLATE fastest
75 /************************************************************
77 **********************************************************/
79 #define TEMPLATE faster
100 /******************************************************
102 ********************************************************/
104 #define TEMPLATE fast
111 #define LONGENOUGH 35
125 /**************************************************
127 **************************************************************/
129 #define TEMPLATE slow
136 #define LONGENOUGH 70
150 /********************************************************
151 DEFAULT string matcher
152 ************************************************************/
153 #if XD3_BUILD_DEFAULT
154 #define TEMPLATE default
161 #define LONGENOUGH 70