* @brief Invalidates the (table_ptr, reg_ptr) cache before any Lua state populating it closes. */
| 161 | * @brief Invalidates the (table_ptr, reg_ptr) cache before any Lua state populating it closes. |
| 162 | */ |
| 163 | void DataModel::DataTableStore::clearLookupCache() const |
| 164 | { |
| 165 | for (auto& entry : m_internedKeyCache) |
| 166 | entry = InternedKeyCacheEntry{}; |
| 167 | |
| 168 | m_internedKeyCacheNext = 0; |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * @brief Hot-path lookup keyed by Lua's interned string pointers. |
no outgoing calls
no test coverage detected