| 146 | |
| 147 | |
| 148 | __hot void StringTable::insertOnly(key_t key, value_t value, hash_t hash) { |
| 149 | assert_precondition(!find(key, hash)); |
| 150 | if (_usuallyFalse(++_count > _capacity)) |
| 151 | grow(); |
| 152 | _insertOnly(hash, {key, value}); |
| 153 | } |
| 154 | |
| 155 | |
| 156 | // Subroutine of insertOnly() and grow() that doesn't bump count or grow table. |