Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed improvements #7

Merged
merged 10 commits into from
Feb 13, 2024
Merged

Speed improvements #7

merged 10 commits into from
Feb 13, 2024

Conversation

emdoyle
Copy link
Member

@emdoyle emdoyle commented Feb 13, 2024

  • early exit when traversing ast when possible
  • reduce calls to os.walk
  • replace AST visitors with regex searches to detect boundaries and modguard.public import
  • fix marking package __init__.py as public

@emdoyle emdoyle merged commit 0f592c6 into main Feb 13, 2024
4 checks passed
@emdoyle emdoyle deleted the speed-improvements branch February 13, 2024 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants