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

Parser can be optimized further by separating pretty-print and tree construction into two different stages #37

Open
antonkov opened this issue Feb 12, 2024 · 0 comments
Assignees

Comments

@antonkov
Copy link
Member

Each MVarId is now printed at least twice - once in goalsBefore and once in goalsAfter (sometimes unnecessary even more from parent nodes when it already handled in the subtree - and then it's also discarded). Profiling shows that pretty printing takes ~90% on big proofs. By separating {MVarId => GoalInfo} mapping from ProofSteps we could cheaply optimize parser ~x2

@antonkov antonkov self-assigned this Feb 12, 2024
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

No branches or pull requests

1 participant