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

Cache results of static analysis #15

Merged
merged 5 commits into from
Oct 7, 2024
Merged

Cache results of static analysis #15

merged 5 commits into from
Oct 7, 2024

Conversation

lagru
Copy link
Member

@lagru lagru commented Oct 6, 2024

This is an attempt to add a lightweight caching mechanism to docstub.

docstub collects types during the static analysis of source files. These are used later on during stub file creation. Right now this part can be slow, especially unnecessarily so during iteration when only a few types tend to change between runs. Caching these collected types makes the process a lot faster.

@lagru lagru added the enhancement New feature or request label Oct 6, 2024
@lagru lagru mentioned this pull request Oct 6, 2024
21 tasks
@lagru lagru added this to the v0.3 milestone Oct 6, 2024
@lagru lagru marked this pull request as ready for review October 7, 2024 11:43
@lagru lagru merged commit a42b08b into main Oct 7, 2024
5 checks passed
@lagru lagru deleted the add-caching branch October 7, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant