I am a complete newbie in C ++. I am trying to read a file and build a lookup table (rather, like a hash table, just to check if a string value exists). The file contains about 300 thousand records, which I will use to create a lookup table. And after that, I will carry out about 1 million searches about this. What is the most efficient way to do this? Is this a map (Googleโs first result) or is there a better structure for this purpose?
source
share