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

Accelerate performance of trivial re-exports #1879

Merged
merged 5 commits into from
Jun 25, 2020
Merged

Accelerate performance of trivial re-exports #1879

merged 5 commits into from
Jun 25, 2020

Conversation

Gabriella439
Copy link
Collaborator

Fixes #1878

This change skips the type-checking step if an import trivially
refers to another import

Fixes #1878

This change skips the type-checking step if an import trivially
refers to another import
Copy link
Collaborator

@sjakobi sjakobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! :)

dhall/src/Dhall/Import.hs Outdated Show resolved Hide resolved
... as suggested by @sjakobi

I also noticed an inconsistency in returning `substitutedExpr` vs.
`resolvedExpr`, which I fixed along the way
Copy link
Collaborator

@german1608 german1608 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Gabriella439
Copy link
Collaborator Author

I just saw a new test failure on the Appveyor test:

    normalizeWithM should be consistent with normalize:                                                                        tasty.exe: getMBlocks: VirtualAlloc MEM_COMMIT failed: The paging file is too small for this operation to complete.

Not sure if this will be an ongoing problem, but I'll restart for now and see what happens

@mergify mergify bot merged commit 89ab095 into master Jun 25, 2020
@mergify mergify bot deleted the gabriel/1878 branch June 25, 2020 20:24
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.

Using env in import causing a huge performance hit
3 participants