-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
EnumeratedSets: Add method 'tuple', avoid making copies #34400
Comments
This comment has been minimized.
This comment has been minimized.
Author: Matthias Koeppe |
New commits:
|
Commit: |
comment:5
Existing classes that define specialized |
comment:10
Other than adding at least one doctest to the added methods, LGTM. This is a good idea. |
Reviewer: Travis Scrimshaw |
comment:13
Ah right, I'll add some tests |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Thanks. Green bot => positive review. |
comment:16
Actually, you missed |
comment:17
Indeed. I think my eyeballs need some rest |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Thank you. Trivial detail that you don't have to do, but Green bot => positive review. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:21
Thanks, done. |
comment:22
Bots are green |
Changed branch from u/mkoeppe/enumeratedsets__add_methods_tuple___tuple_from_iterator to |
We change the attribute
_list
to actually store atuple
of the elements and switch methods such as_iterator_from_list
to use the newtuple
method instead of going throughlist
(which makes a copy every time).CC: @tscrim @seblabbe @fchapoton @nthiery
Component: combinatorics
Author: Matthias Koeppe
Branch/Commit:
d1a6b08
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/34400
The text was updated successfully, but these errors were encountered: