Overview
SHA1 Hash: | f6b4c6458b2ffc6918c69a743569fcfda29db824 |
---|---|
Date: | 2007-09-06 00:47:02 |
User: | drh |
Comment: | Raise the hash chain limit in the delta module from 50 to 250. |
Timelines: | ancestors | descendants | both | trunk |
Other Links: | files | ZIP archive | manifest |
Tags And Properties
- branch=trunk inherited from [a28c83647d]
- sym-trunk inherited from [a28c83647d]
Changes
[hide diffs]Modified src/delta.c from [d84dda2bcd] to [e79479fc0f].
@@ -340,11 +340,11 @@ hash_init(&h, &zOut[base]); i = 0; /* Trying to match a landmark against zOut[base+i] */ bestCnt = 0; while( 1 ){ int hv; - int limit = 50; + int limit = 250; hv = hash_32bit(&h) & (MX_LANDMARK-1); DEBUG2( printf("LOOKING: %4d [%s]\n", base+i, print16(&zOut[base+i])); ) iBlock = landmark[hv]; while( iBlock>=0 && (limit--)>0 ){