-
Notifications
You must be signed in to change notification settings - Fork 36
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
Performance regression related to Cayley digraphs #356
Comments
Just to double-check, everything is compiled the same way in both cases right? |
Yes. Michael and I used |
james-d-mitchell
pushed a commit
to james-d-mitchell/Semigroups
that referenced
this issue
Aug 23, 2017
Previously we did Digraph(EN_SEMI_RIGHT_CAYLEY_GRAPH(S)) which involved copying the output of EN_SEMI_RIGHT_CAYLEY_GRAPH(S), and performing checks that the output was valid. We make the output of EN_SEMI_RIGHT_CAYLEY_GRAPH(S) immutable, and use DigraphNC to avoid these unnecessary checks. This seems to resolve Issue semigroups#356.
Merged
james-d-mitchell
pushed a commit
that referenced
this issue
Aug 23, 2017
Previously we did Digraph(EN_SEMI_RIGHT_CAYLEY_GRAPH(S)) which involved copying the output of EN_SEMI_RIGHT_CAYLEY_GRAPH(S), and performing checks that the output was valid. We make the output of EN_SEMI_RIGHT_CAYLEY_GRAPH(S) immutable, and use DigraphNC to avoid these unnecessary checks. This seems to resolve Issue #356.
wilfwilson
added a commit
that referenced
this issue
Aug 23, 2017
This is now fixed, and the timing looks better than ever. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The answer to this block of code is 16;
M6
is the monoid consisting of all 3x3 matrices over Z/6Z.Before PR #348 was merged (in
v3.0.3
, for instance), this computation took about 28 seconds. Afterwards (in the current version ofmaster
, for instance), it takes about 42 seconds.The text was updated successfully, but these errors were encountered: