Ignore:
Timestamp:
Dec 13, 2011, 1:16:47 PM (8 years ago)
Author:
vla24
Message:

Reverted table expansion decision changes. It slows down performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/symtab/bitstream_super_hash_table.h

    r1772 r1773  
    4949    unsigned int nextTableSize();
    5050    unsigned int chainLength(CHAIN* chain);
    51 
    52     unsigned int m_maxSymbols;
    53     unsigned int m_totalSymbols;
    5451};
    5552
    5653BitStreamSuperHashTable::BitStreamSuperHashTable()
    5754    :m_tableSize(DEFAULT_TABLE_SIZE)
    58     ,m_totalSymbols(0)
    5955{
    6056    m_table = allocateHashTable(m_tableSize);
     
    6359        printf ("Failed to allocate table!\n");
    6460    }
    65 
    66     m_maxSymbols = m_tableSize >> 1 + m_tableSize >> 2;
    6761}
    6862
Note: See TracChangeset for help on using the changeset viewer.