3 ms·
Surely no one thinks that "when searching a directory, specify the full path of the directory you want to search" is premature optimization...? Isn't that just
by civilized 4y ago
Surely no one thinks that "when searching a directory, specify the full path of the directory you want to search" is premature optimization...?
Isn't that just... doing the thing you intended to do, in the most straightforward way possible?
Who says "it's too much trouble getting the files in the directory I want, I'd rather search the entire computer and filter that list down to the files in that directory"?
This is like saying "it's too much effort to drive to San Francisco, so I'm going to drive to cities in California until I happen to arrive in San Francisco".