diff options
Diffstat (limited to 'xdelta3/xdelta3-cfgs.h')
-rwxr-xr-x | xdelta3/xdelta3-cfgs.h | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/xdelta3/xdelta3-cfgs.h b/xdelta3/xdelta3-cfgs.h index b7b8f72..50d9883 100755 --- a/xdelta3/xdelta3-cfgs.h +++ b/xdelta3/xdelta3-cfgs.h | |||
@@ -58,17 +58,15 @@ | |||
58 | ******************************************************************************************/ | 58 | ******************************************************************************************/ |
59 | #if XD3_BUILD_FAST | 59 | #if XD3_BUILD_FAST |
60 | #define TEMPLATE fast | 60 | #define TEMPLATE fast |
61 | #define LLOOK 32 | 61 | #define LLOOK 9 |
62 | #define LSTEP 32 | 62 | #define LSTEP 28 |
63 | #define SLOOK 4 | 63 | #define SLOOK 5 |
64 | 64 | #define SCHAIN 1 | |
65 | #define SCHAIN 2 // For testcase/3, this produces miserable performance | 65 | #define SLCHAIN 1 |
66 | #define SLCHAIN 2 // with these values != 1 and large input window size | 66 | #define SSMATCH 0 |
67 | |||
68 | #define SSMATCH 1 | ||
69 | #define TRYLAZY 0 | 67 | #define TRYLAZY 0 |
70 | #define MAXLAZY 0 | 68 | #define MAXLAZY 23 |
71 | #define LONGENOUGH 64 | 69 | #define LONGENOUGH 36 |
72 | #define PROMOTE 0 | 70 | #define PROMOTE 0 |
73 | 71 | ||
74 | #include "xdelta3.c" | 72 | #include "xdelta3.c" |
@@ -91,16 +89,16 @@ | |||
91 | ******************************************************************************************/ | 89 | ******************************************************************************************/ |
92 | #if XD3_BUILD_SLOW | 90 | #if XD3_BUILD_SLOW |
93 | #define TEMPLATE slow | 91 | #define TEMPLATE slow |
94 | #define LLOOK 64 | 92 | #define LLOOK 8 |
95 | #define LSTEP 64 // TODO | 93 | #define LSTEP 3 |
96 | #define SLOOK 4 | 94 | #define SLOOK 4 |
97 | #define SCHAIN 128 | 95 | #define SCHAIN 7 |
98 | #define SLCHAIN 16 | 96 | #define SLCHAIN 3 |
99 | #define SSMATCH 0 | 97 | #define SSMATCH 0 |
100 | #define TRYLAZY 1 | 98 | #define TRYLAZY 1 |
101 | #define MAXLAZY 8 | 99 | #define MAXLAZY 32 |
102 | #define LONGENOUGH 128 | 100 | #define LONGENOUGH 15 |
103 | #define PROMOTE 0 | 101 | #define PROMOTE 1 |
104 | 102 | ||
105 | #include "xdelta3.c" | 103 | #include "xdelta3.c" |
106 | 104 | ||