… | |
… | |
93 | # define USE_MEMCPY 0 |
93 | # define USE_MEMCPY 0 |
94 | #endif |
94 | #endif |
95 | |
95 | |
96 | /* |
96 | /* |
97 | * You may choose to pre-set the hash table (might be faster on some |
97 | * You may choose to pre-set the hash table (might be faster on some |
98 | * modern cpus and large (>>64k) blocks) |
98 | * modern cpus and large (>>64k) blocks, and also makes compression |
|
|
99 | * deterministic/repeatable when the configuration otherwise is the same). |
99 | */ |
100 | */ |
100 | #ifndef INIT_HTAB |
101 | #ifndef INIT_HTAB |
101 | # define INIT_HTAB 0 |
102 | # define INIT_HTAB 0 |
102 | #endif |
103 | #endif |
103 | |
104 | |
… | |
… | |
126 | * detect most corrupted streams. |
127 | * detect most corrupted streams. |
127 | * This check is not normally noticable on modern hardware |
128 | * This check is not normally noticable on modern hardware |
128 | * (<1% slowdown), but might slow down older cpus considerably. |
129 | * (<1% slowdown), but might slow down older cpus considerably. |
129 | */ |
130 | */ |
130 | #ifndef CHECK_INPUT |
131 | #ifndef CHECK_INPUT |
131 | # define CHECK_INPUT 0 |
132 | # define CHECK_INPUT 1 |
132 | #endif |
133 | #endif |
133 | |
134 | |
134 | /*****************************************************************************/ |
135 | /*****************************************************************************/ |
135 | /* nothing should be changed below */ |
136 | /* nothing should be changed below */ |
136 | |
137 | |