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

Improve performance of repeated same file import #240

Merged
merged 1 commit into from
Oct 4, 2016

Conversation

sparkprime
Copy link
Member

@huggsboson
Copy link
Contributor

lgtm

@sparkprime
Copy link
Member Author

Related (coincedentally) #239

@sparkprime
Copy link
Member Author

@fare this just caches the parsed, analyzed, desugared AST but gave a 2x boost in a real usecase.

@sparkprime sparkprime merged commit 7bce0f4 into google:master Oct 4, 2016
@sparkprime
Copy link
Member Author

Travis on osx is giving a weird error but it seems unrelated to jsonnet so I'm committing anyway.

@sparkprime sparkprime deleted the cache_imported_ast branch October 4, 2016 19:20
@fare
Copy link

fare commented Oct 4, 2016

Can you cache the expression, so the value is shared, too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants