| 180 | #endif |
| 181 | |
| 182 | Dictionary::HashTable::HashTable(MemoryPool& p, unsigned lvl) |
| 183 | : level(lvl), |
| 184 | table(FB_NEW_POOL(p) TableData[hashSize[level]]) |
| 185 | { |
| 186 | for (unsigned n = 0; n < hashSize[level]; ++n) |
| 187 | table[n].store(nullptr, std::memory_order_relaxed); |
| 188 | } |
| 189 | |
| 190 | unsigned Dictionary::HashTable::getMaxLevel() |
| 191 | { |