new heap allocation code
new atom table growth code and hash algorithm more fixes for new indexing algorithm git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@905 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -124,7 +124,7 @@ Yap_LookupVar(char *var) /* lookup variable in variables table */
|
||||
UInt hv;
|
||||
|
||||
p = Yap_VarTable;
|
||||
hv = HashFunction(vp) % MaxHash;
|
||||
hv = HashFunction(vp) % AtomHashTableSize;
|
||||
while (p != NULL) {
|
||||
CELL hpv = p->hv;
|
||||
if (hv == hpv) {
|
||||
|
Reference in New Issue
Block a user