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


Ignore:
Timestamp:
03/31/15 06:24:32 (5 years ago)
Author:
nthiery
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17979, comment 67

    initial v1  
    55sage: from sage.combinat.integer_list_old import IntegerListsLex as IntegerListsLexOld
    66
    7 sage: P = IntegerListsLex(n=20, max_slope=0, floor=1)
     7sage: P = IntegerListsLex(n=20, max_slope=0, min_part=1)
    88sage: %time x = list(P)
    99CPU times: user 159 ms, sys: 25.8 ms, total: 185 ms
     
    1717627
    1818
    19 sage: P = IntegerListsLex(n=30, max_slope=0, floor=1)
     19sage: P = IntegerListsLex(n=30, max_slope=0, min_part=1)
    2020sage: %time x = list(P)
    2121CPU times: user 1.74 s, sys: 21.9 ms, total: 1.76 s
     
    29295604
    3030
    31 sage: P = IntegerListsLex(n=40, max_slope=0, floor=1)
     31sage: P = IntegerListsLex(n=40, max_slope=0, min_part=1)
    3232sage: %time x = list(P)
    3333CPU times: user 12.8 s, sys: 0 ns, total: 12.8 s
     
    414137338
    4242
    43 sage: P = IntegerListsLex(n=50, max_slope=0, floor=1)
     43sage: P = IntegerListsLex(n=50, max_slope=0, min_part=1)
    4444sage: %time x = list(P)
    4545CPU times: user 1min 20s, sys: 216 ms, total: 1min 20s
     
    5353204226
    5454
    55 sage: P = IntegerListsLex(n=60, max_slope=0, floor=1)
     55sage: P = IntegerListsLex(n=60, max_slope=0, min_part=1)
    5656sage: %time x = list(P)
    5757CPU times: user 7min 5s, sys: 823 ms, total: 7min 6s