-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the default code filter's correctness and performance. (#40)
* Improve the default code filter to resolve symlinks The wrong paths might be used when filtering depending on if the paths Python is configured to use are actually symlinks on the underlying system (for example, when /lib64 is a symlink to /lib). * Significantly improve the default filter's performance with a cache Resolving symlinks per function call has a large performance penalty. But there's also no need to constantly recompute the default filter.
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters