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

refactor: split logic #240

Merged
merged 3 commits into from
Jun 5, 2024
Merged

refactor: split logic #240

merged 3 commits into from
Jun 5, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Jun 5, 2024

This PR splits jiti logic into more maintainable logical utils sharing a single context per instance.

As a result of this PR adds a few more eager computes on context which later could be converted to lazy initialized but reducing the amount of closure creations should help save more memory, especially with long-chain imports.

@pi0 pi0 merged commit 7dbbdaf into main Jun 5, 2024
5 checks passed
@pi0 pi0 deleted the refactor/struct branch June 5, 2024 16:04
@pi0 pi0 mentioned this pull request Jun 5, 2024
Playgirlkaybraz11

This comment was marked as spam.

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