Can you use the vector index and C + + function template to find the corresponding object through the map? Do you think the efficiency is better