|
|
|
|
|
by bshlgrs
3351 days ago
|
|
"At around 1,000,000 elements our unsorted vector takes around 32 minutes to lookup a string." I don't at all believe that C++ can only iterate through 2000 strings a second. Python takes an imperceptibly small time to iterate through an array of a million strings when I test it out in my repl, and I imagine C++ would either be as fast or somewhat faster. This number is so ridiculous that it makes me very skeptical of the rest of the article. |
|