Ignore:
Timestamp:
Apr 21, 2012, 7:14:33 PM (7 years ago)
Author:
ksherdy
Message:

Fixed table resize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/symbol_table/src/id_symbol_table.hpp

    r2036 r2040  
    6565        hash_table_7.print_diagnostics();
    6666        hash_table_8.print_diagnostics();
    67 
    6867        hash_table_9.print_diagnostics();
    6968        hash_table_10.print_diagnostics();
     
    122121                        #define BIT_HASH(LENGTH_GROUP, COMPARISON_TYPE) \
    123122                                if(bitblock::any(groups.ends_##LENGTH_GROUP)) { \
    124                                         do_block<SYMBOL, hash_table <identity_strategy_t<COMPARISON_TYPE, LENGTH_GROUP>, hash_strategy_d, ALLOCATOR> > \
     123                                        do_block<SYMBOL, hash_table <identity_strategy_t<COMPARISON_TYPE, LENGTH_GROUP>, hash_strategy_t<LENGTH_GROUP>, ALLOCATOR> > \
    125124                                                (blk_offset, \
    126125                                                 hash_table_##LENGTH_GROUP, \
     
    168167        // Bit Space Hash
    169168        ///////////////////////////////////////////////////////////////////////////////
    170         hash_table<identity_strategy_t<uint64_t,8>, hash_strategy_d, ALLOCATOR> hash_table_8;
    171         hash_table<identity_strategy_t<uint64_t,9>, hash_strategy_d, ALLOCATOR> hash_table_9;
    172         hash_table<identity_strategy_t<uint64_t,10>, hash_strategy_d, ALLOCATOR> hash_table_10;
    173         hash_table<identity_strategy_t<uint64_t,11>, hash_strategy_d, ALLOCATOR> hash_table_11;
    174         hash_table<identity_strategy_t<uint64_t,12>, hash_strategy_d, ALLOCATOR> hash_table_12;
    175         hash_table<identity_strategy_t<uint64_t,13>, hash_strategy_d, ALLOCATOR> hash_table_13;
    176         hash_table<identity_strategy_t<uint64_t,14>, hash_strategy_d, ALLOCATOR> hash_table_14;
    177         hash_table<identity_strategy_t<uint64_t,15>, hash_strategy_d, ALLOCATOR> hash_table_15;
    178         hash_table<identity_strategy_t<BitBlock,16>, hash_strategy_d, ALLOCATOR> hash_table_16;
     169        hash_table<identity_strategy_t<uint64_t,8>, hash_strategy_t<8>, ALLOCATOR> hash_table_8;
     170        hash_table<identity_strategy_t<uint64_t,9>, hash_strategy_t<9>, ALLOCATOR> hash_table_9;
     171        hash_table<identity_strategy_t<uint64_t,10>, hash_strategy_t<10>, ALLOCATOR> hash_table_10;
     172        hash_table<identity_strategy_t<uint64_t,11>, hash_strategy_t<11>, ALLOCATOR> hash_table_11;
     173        hash_table<identity_strategy_t<uint64_t,12>, hash_strategy_t<12>, ALLOCATOR> hash_table_12;
     174        hash_table<identity_strategy_t<uint64_t,13>, hash_strategy_t<13>, ALLOCATOR> hash_table_13;
     175        hash_table<identity_strategy_t<uint64_t,14>, hash_strategy_t<14>, ALLOCATOR> hash_table_14;
     176        hash_table<identity_strategy_t<uint64_t,15>, hash_strategy_t<15>, ALLOCATOR> hash_table_15;
     177        hash_table<identity_strategy_t<BitBlock,16>, hash_strategy_t<16>, ALLOCATOR> hash_table_16;
    179178        hash_table<identity_strategy_d, hash_strategy_d, ALLOCATOR> hash_table_gte_17;
    180179};
Note: See TracChangeset for help on using the changeset viewer.