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

Reduce dependencies, especially for Classes #1839

Merged
merged 4 commits into from
Feb 10, 2024

Conversation

jdchristensen
Copy link
Collaborator

@jdchristensen jdchristensen commented Feb 8, 2024

It turns out that the Classes library was depending on WildCat, Cubical, Modalities, Homotopy.Suspension, etc, all because it uses some unicode symbols defined in Utf8.v. I separated that small subset into a new file Utf8Minimal.v, which greatly reduces the dependencies and speeds up a parallel build by about 2%. I also reduced a few other dependencies. I noticed these because so much of the library was getting rebuilt when WildCat/Induced.v was changed.

The commits are independent, except that the fourth one depends on the third one.

Before this commit, Classes was using Utf8.v, which depends on a
large part of the library.  We break out a small section of Utf8.v
into a new file to avoid this.  Now Classes doesn't depend on
WildCat.v, for example.
@jdchristensen jdchristensen requested a review from Alizter February 8, 2024 19:58
@jdchristensen jdchristensen merged commit 8897f0e into HoTT:master Feb 10, 2024
23 checks passed
@jdchristensen jdchristensen deleted the dependencies branch February 10, 2024 02:48
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