Utilize --profile
to improve performance of File
in programkind.go
#750
Labels
enhancement
New feature or request
While working on #734, I noticed
File
was one of the largest runtime hits once the other optimizations were in place.Since we check the file type of each file, this function can be called hundreds or thousands of times during a scan. We should optimize this function (and package) as much as possible so that we spend the smallest amount of time determining file types.
The text was updated successfully, but these errors were encountered: