#19319: iterator over products on diagonals a la Cantor
-------------------------------------+-------------------------------------
Reporter: dkrenn | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.9
Component: misc | Resolution:
Keywords: | Merged in:
Authors: Daniel Krenn, | Reviewers: Daniel Krenn
Clemens Heuberger | Work issues:
Report Upstream: N/A | Commit:
Branch: | 4a52a845469078b5418937e8927d473e8b3d2ec6
u/vdelecroix/19319 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by nbruin):
Perhaps consider using `sage.misc.lazy_list.lazy_list` as a cache? That
should save you making explicit appends. You could even get slightly
better memory use for cartesian powers (a common case) by sharing caches.
--
Ticket URL: <http://trac.sagemath.org/ticket/19319#comment:36>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.