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
Polish the use of iterators in C graphs #6604
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
I am right now watching a talk on closures in Cython, which are all but finished. Then, yield statements in Cython will soon follow! So don't work on this ticket for now... |
Branch: public/graphs/6604_iterators |
comment:9
It seems there is little remaining to do for iterators in backends now, so let's do it. Before
After
New commits:
|
Commit: |
Author: David Coudert |
Reviewer: Travis Scrimshaw |
comment:10
That is quite a decent speedup and will likely have effects in other methods. Looks like some trivial failures due to slight differences in how the iteration is done:
This one I am not sure if it is because of the random seed or this ticket:
in either case, it should be a trivial fix. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:12
I fixed the doctests in I cannot reproduce the error in |
comment:13
Actually, this random error in |
comment:14
Thank you. LGTM. |
Changed branch from public/graphs/6604_iterators to |
http://groups.google.com/group/sage-devel/browse_thread/thread/2bdfa75d401575f2
CC: @kliem @tscrim
Component: graph theory
Author: David Coudert
Branch/Commit:
c7dc1b1
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/6604
The text was updated successfully, but these errors were encountered: