100 string checks (in array) vs 1000 boolean checks? (in array), which one would be faster NOT including string leaks.
I need to know for this...
A indefinite # of strings in a array must be checked first. If the target string is not found, a 2nd, much larger ( 10X would be a good estimate ) array of strings must be checked which contains all of the values in the first array. Using a attached boolean array, I would be able to stop strings from being checked twice, but would it be worth it?
I need to know for this...
A indefinite # of strings in a array must be checked first. If the target string is not found, a 2nd, much larger ( 10X would be a good estimate ) array of strings must be checked which contains all of the values in the first array. Using a attached boolean array, I would be able to stop strings from being checked twice, but would it be worth it?