Opened 5 years ago

Last modified 5 years ago

#23819 closed enhancement

Speed up AlternatingSignMatrix.from_corner_sum — at Version 2

Reported by: Martin Rubey Owned by:
Priority: major Milestone: sage-8.1
Component: combinatorics Keywords:
Cc: Jessica Striker, Kevin Dilks Merged in:
Authors: Martin Rubey Reviewers:
Report Upstream: N/A Work issues:
Branch: u/mantepse/speed_up_alternatingsignmatrix_from_corner_sum (Commits, GitHub, GitLab) Commit: f34394d84ed07c4ed492479136fed334abd14b19
Dependencies: Stopgaps:

Status badges

Description (last modified by Martin Rubey)

old:

sage: timeit("[asm.parent().from_corner_sum(asm.corner_sum_matrix()) for asm in AlternatingSignMatrices(6)]", number=1, repeat=1)
1 loops, best of 1: 35.2 s per loop

new:

sage: timeit("[from_corner_sum(asm.corner_sum_matrix()) for asm in AlternatingSignMatrices(6)]", number=1, repeat=1)
1 loops, best of 1: 25.5 s per loop

Change History (2)

comment:1 Changed 5 years ago by Martin Rubey

Branch: u/mantepse/speed_up_alternatingsignmatrix_from_corner_sum

comment:2 Changed 5 years ago by Martin Rubey

Authors: Martin Rubey
Commit: f34394d84ed07c4ed492479136fed334abd14b19
Component: PLEASE CHANGEcombinatorics
Description: modified (diff)
Status: newneeds_review
Type: PLEASE CHANGEenhancement
Note: See TracTickets for help on using tickets.