Changes between Version 2 and Version 33 of Ticket #23819


Ignore:
Timestamp:
Sep 15, 2017, 2:42:36 PM (5 years ago)
Author:
Martin Rubey
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23819

    • Property Cc Jessica Striker Kevin Dilks added
    • Property Commit changed from f34394d84ed07c4ed492479136fed334abd14b19 to 5d4806beace6cd865cfd3897d51ccdf0447a0076
  • Ticket #23819 – Description

    v2 v33  
    11old:
    22{{{
    3 sage: timeit("[asm.parent().from_corner_sum(asm.corner_sum_matrix()) for asm in AlternatingSignMatrices(6)]", number=1, repeat=1)
    4 1 loops, best of 1: 35.2 s per loop
     3sage: A = AlternatingSignMatrices(6)
     4sage: lC = [a.corner_sum_matrix() for a in A]
     5sage: timeit("[A.from_corner_sum(corner) for corner in lC]", number=1, repeat=1)
     61 loops, best of 1: 31.6 s per loop
    57}}}
    68
    79new:
    810{{{
    9 sage: timeit("[from_corner_sum(asm.corner_sum_matrix()) for asm in AlternatingSignMatrices(6)]", number=1, repeat=1)
    10 1 loops, best of 1: 25.5 s per loop
     11sage: timeit("[A.from_corner_sum(corner) for corner in lC]", number=1, repeat=1)
     121 loops, best of 1: 2.33 s per loop
    1113}}}