Add TODO about ID mapping improvements

This commit is contained in:
Tyler Neely 2022-11-01 15:27:35 +00:00
parent 27292dd921
commit 77c2afc9e7

View File

@ -228,6 +228,7 @@ Hlc ShardMap::IncrementShardMapVersion() noexcept {
return shard_map_version; return shard_map_version;
} }
// TODO(antaljanosbenjamin) use a single map for all name id mapping and a single counter to maintain the next id
std::unordered_map<uint64_t, std::string> ShardMap::IdToNames() { std::unordered_map<uint64_t, std::string> ShardMap::IdToNames() {
std::unordered_map<uint64_t, std::string> id_to_names; std::unordered_map<uint64_t, std::string> id_to_names;