Hi everyone!
I need to up to thousands of items in an array/vector. Here is what one item looks like:
struct Patient {
std::string m_StudyOid;
std::string m_Filename;
}
So somthing like
vector<Patient>
would work, however I need to _quickly_ find all items in the list that have a specific m_StudyOid value. Basically, I need to search the list.
I haven't done this before. I know it's called hash map or somthing... what is the fastest way to do this?
thanks!
(Yes, I'm doing DICOM work if that's what you guessed)