Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speedup get_plugin_linter_classes (#59)
get_plugin_linter_classes is called once per file being processed and can take hundreds of ms per file, which over a large code base of hundreds or thousands of files slows things down noticeably. use an lru_cache here as the code should always return the same thing inside a single process.
- Loading branch information