Quote Originally Posted by Paul McKenzie View Post
If you sorted the array of names first, then you could use a binary search instead of looping through each element. Or maybe you should use a different container, one that has fast lookups (map, for example).
Paul, I really don't know what it means. If you give me a code sample I'll substitute it with what I already have and run the two for the same folder and post here the exact time that it took two methods to complete.