-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
combinations, partitions functions should return iterators #3989
Comments
The |
Now we are significantly faster. |
Nice! But a hornéd hat of shame for not updating the documentation... |
drat. thanks for the reminder. |
Is this now done? Can we close the issue and add a NEWS item? |
The integer and set partitions functions haven't been converted yet. |
I should be submittiing these in a few minutes. |
Kevin you're a beast! |
See this mailing-list discussion.
As @StefanKarpinski notes, the
combinations
function should really return anIterator
type; the task-based interface was doubtless easier to implement but is harder to use.Furthermore, it looks like we have a little ways to go in order to beat the CPython
itertools.combinations
function.The text was updated successfully, but these errors were encountered: