Hi
I have an app using Qt as GUI tookit that is simple program that reads TXT files and creates string vectors from lines read from the files.
I perform some kind of vlookup (from MS Excel) operation on two vectors
for (int j=0;j<VectorA.size();j++)
for (int k=0; k<VectorB.size();k++)
if (MyFunction(VectorA.at(j),VectorB.at(k)))
do_some_stuff();
so, it takes time to complete the process. I have two questions regarding to code above;
i ) any other way to perform similar operation
ii ) is there going to be a significant diffrence between process complition time if I use different threads to perform the check (fro example one thread will start from middle of vector, and the other run until middle of vector)
thanks