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

Slow goal printing in Coq-HoTT theories/Spaces/No/Core.v #798

Open
Alizter opened this issue Jun 27, 2024 · 2 comments
Open

Slow goal printing in Coq-HoTT theories/Spaces/No/Core.v #798

Alizter opened this issue Jun 27, 2024 · 2 comments

Comments

@Alizter
Copy link
Collaborator

Alizter commented Jun 27, 2024

In HoTT we have a file theories/Spaces/No/Core.v which has some goals that are slow to print. It would be good to investigate if we can speed these up. Specifically the local definition inner_package demonstrates the slow behaviour I have been observing.

@Alizter
Copy link
Collaborator Author

Alizter commented Jun 27, 2024

Testing this, pp_type 0 is much faster than 1 so it seems to be a printing issue.

@ejgallego
Copy link
Owner

Indeed, this is due to our printer doing DOM ops, thanks a lot for the example Ali, it is very useful.

Once we switch the printer from to a VDOM , we should be able to understand how things work.

Actually, (cc: @corwin-of-amber) I wonder if there could be some kind of drop-in replacement for jQuery that would operate on a VDom, rending on a final stage?

I proposed the vsCoq folks to help with this but they went their own route.

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

No branches or pull requests

2 participants