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

performance improvements #5

Merged
merged 2 commits into from Jun 10, 2022
Merged

performance improvements #5

merged 2 commits into from Jun 10, 2022

Conversation

xobotyi
Copy link
Collaborator

@xobotyi xobotyi commented Jun 10, 2022

  • Add type check desicion cache.
  • Add structures fields cache.

~40% perfomance improvement for codebase with 130k LOC.

Should somehow help with #4

@xobotyi xobotyi added the enhancement New feature or request label Jun 10, 2022
As regexps are heavy, it is a good idea to cache check result and
preform checks only once per type.
Also improve code splitting.
@xobotyi xobotyi merged commit 2a7dfaf into master Jun 10, 2022
@xobotyi xobotyi deleted the performance-imp branch June 10, 2022 11:32
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.

None yet

1 participant