-
-
Notifications
You must be signed in to change notification settings - Fork 629
moving linear_intervals_count to hasse as iterator #40245
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
base: develop
Are you sure you want to change the base?
Conversation
Documentation preview for this PR (built with commit 224b915; changes) is ready! 🎉 |
@tscrim, if you have some time to look, should be easy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Perhaps there was a reason for the precomputation cutoff to be at 60, but I don't think this will make much of a different for these smaller posets.
sagemathgh-40245: moving linear_intervals_count to hasse as iterator to make them still faster ; also changed the moved method into an iterator as this could be convenient follow-up of previous effort in sagemath#40171 Timings : poset of size 4800 : 18s before ; 13 after poset of size 5300 : 24.4 s before and17.4 s after ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40245 Reported by: Frédéric Chapoton Reviewer(s): Travis Scrimshaw
sagemathgh-40245: moving linear_intervals_count to hasse as iterator to make them still faster ; also changed the moved method into an iterator as this could be convenient follow-up of previous effort in sagemath#40171 Timings : poset of size 4800 : 18s before ; 13 after poset of size 5300 : 24.4 s before and17.4 s after ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40245 Reported by: Frédéric Chapoton Reviewer(s): Travis Scrimshaw
sagemathgh-40245: moving linear_intervals_count to hasse as iterator to make them still faster ; also changed the moved method into an iterator as this could be convenient follow-up of previous effort in sagemath#40171 Timings : poset of size 4800 : 18s before ; 13 after poset of size 5300 : 24.4 s before and17.4 s after ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40245 Reported by: Frédéric Chapoton Reviewer(s): Travis Scrimshaw
to make them still faster ; also changed the moved method into an iterator as this could be convenient
follow-up of previous effort in #40171
Timings :
poset of size 4800 : 18s before ; 13 after
poset of size 5300 : 24.4 s before and17.4 s after
📝 Checklist