Commit e74f05d7 by Bruno Schmitt

Small fix for bins growth in sub-cube hashtable.

parent 867c90d1
......@@ -195,7 +195,8 @@ int Fxch_SCHashTableInsert( Fxch_SCHashTable_t* pSCHashTable,
}
else if ( pBin->Size == pBin->Cap )
{
pBin->Cap = 2 * pBin->Size;
assert(pBin->Cap <= 0xAAAA);
pBin->Cap = ( pBin->Cap >> 1 ) * 3;
pBin->vSCData = ABC_REALLOC( Fxch_SubCube_t, pBin->vSCData, pBin->Cap );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment