Changes between Initial Version and Version 1 of Ticket #17979, comment 43


Ignore:
Timestamp:
03/24/15 10:02:29 (5 years ago)
Author:
ncohen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17979, comment 43

    initial v1  
    1 > This takes forever, even though the list trivially contains just one element:
    2 > {{{
    3 > sage: IntegerListsLex(10^100, max_length=1).list()
    4 > }}}
    5 
    6 This answers a question I had about the first paragraph in the description of this code
    7 {{{
    8 A combinatorial class `C` for integer lists satisfying certain
    9 sum, length, upper/lower bound and regularity constraints. The
    10 purpose of this tool is mostly to provide a Constant Amortized
    11 Time iterator through these lists, in lexicographic order.       
    12 }}}
    13 
    14 Could you remove the claim that this is a Constant Amortized Time iterator? Jeroen's example illustrates that it is not one.
    15 
    16 Thanks,
    17 
    18 Nathann