-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Speedup subposet and _vertex_to_element #11382
Comments
This comment has been minimized.
This comment has been minimized.
Dependencies: #10998 |
Changed keywords from poset subposet to poset, subposet, Cernay2012 |
Reviewer: Nicolas M. Thiéry |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:9
We finalized the patch together with Florent. Positive review on the version I just uploaded, assuming the test pass (I am running them). |
Merged: sage-5.0.beta5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A lot of unnecessary and redundant check were performed with a preliminary version of #10998. See a more precise
analyze on
this thread of sage-combinat-devel
Before:
After:
Here is another timing for a bigger poset:
Before:
After:
This is basically fixed in the final version of #10998 (run on a
slightly slower machine than for the above timings):
The attached patch optimizes it a tiny bit further and adds doctests:
Apply: attachment: trac_11382-subposet_to_vertex_speedup-fh.patch
Depends on #10998
CC: @sagetrac-sage-combinat
Component: combinatorics
Keywords: poset, subposet, Cernay2012
Author: Florent Hivert
Reviewer: Nicolas M. Thiéry
Merged: sage-5.0.beta5
Issue created by migration from https://trac.sagemath.org/ticket/11382
The text was updated successfully, but these errors were encountered: