// // Created by martial.simon on 2/26/25. // #include "lookup_table.hh" std::optional LookupTable::get(int x) { if (table_.count(x) == 0) return std::nullopt; return table_.at(x); } void LookupTable::set(int x, long value) { table_.insert_or_assign(x, value); }