bbatsov/rubocop — pull request #1448 by jonas054 (2014-11-15 19:03:03+00:00)
Title: [Fix #1427] Exclude top level directories early

Based on an idea from @bquorning. I expect that this problem with large `vendor` directories could affect more people.

Take the excluded top level directories out of the equation altogether so that they are not searched for files. This is an optimization to speed up the target file search phase when there is, for example, a vendor directory with a lot of files in it (a top level vendor directory is excluded by default).