Skip to content

Commit 0a40b5d

Browse files
committed
Add AST caching and optimized module usage checks in DependencyExtractor
- Introduced caching for AST file data and dependency check results to improve performance. - Enhanced the `is_module_used_in_ast` and `batch_check_modules_usage` functions to utilize caching. - Updated the `extract_dependencies_from_cmt_info` function to support batch filtering of dependencies based on AST data. - Simplified AST file path resolution and reading logic for efficiency. - Added handling to skip incremental directories during file scans.
1 parent 616bd51 commit 0a40b5d

File tree

1 file changed

+269
-144
lines changed

1 file changed

+269
-144
lines changed

0 commit comments

Comments
 (0)