Make Select-String faster by not doing extra work (#7673)
By not tracking context in the common case where Context size is 0 (using new NoContextTracker class), and by not checking if the full name of a FileInfo is a Directory, about 30% of the execution time is cut when piping files into Select-String.
This commit is contained in:
parent
33f2f0faaf
commit
9c4340ab25