| 4 | |
| 5 | P.S. : This patch "does not really" depend on #14589, but here is what happens when calling "is_strongly_regular" on a big graph. With the patch : |
| 6 | {{{ |
| 7 | sage: g |
| 8 | Affine Polar Graph VO^+(10,2): Graph on 1024 vertices |
| 9 | sage: %time g.is_strongly_regular(parameters = True) |
| 10 | CPU times: user 3.30 s, sys: 0.00 s, total: 3.30 s |
| 11 | Wall time: 3.31 s |
| 12 | (1024, 527, 270, 272) |
| 13 | }}} |
| 14 | |
| 15 | Without the patch |
| 16 | {{{ |
| 17 | sage: %time g.is_strongly_regular(parameters = True) |
| 18 | <still waiting> |
| 19 | }}} |
| 20 | |
| 21 | Annnnnd the doctests that this patch adds are a bit faster as a result `:-P` |