Commit 63a79f3
Release Manager
sagemathgh-38808: faster comparison of elliptic-curve morphisms
Here we add two fast checks to the generic comparison method for
elliptic-curve morphisms that will quickly detect some pairs of unequal
morphisms. In the context of sagemath#35949, this speeds up the following
example from 5.9 seconds to 1.8 seconds:
```sage
sage: E = EllipticCurve(GF((5, 2)), [0,1])
sage: %time _ = list(E.isogenies_degree(27))
```
URL: sagemath#38808
Reported by: Lorenz Panny
Reviewer(s): Sebastian A. Spindler
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
273 | 280 | | |
274 | 281 | | |
275 | 282 | | |
| |||
1174 | 1181 | | |
1175 | 1182 | | |
1176 | 1183 | | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
| 1189 | + | |
1177 | 1190 | | |
1178 | 1191 | | |
1179 | 1192 | | |
1180 | 1193 | | |
1181 | 1194 | | |
1182 | 1195 | | |
1183 | 1196 | | |
| 1197 | + | |
1184 | 1198 | | |
1185 | 1199 | | |
1186 | 1200 | | |
1187 | 1201 | | |
1188 | 1202 | | |
1189 | 1203 | | |
1190 | 1204 | | |
| 1205 | + | |
1191 | 1206 | | |
1192 | 1207 | | |
1193 | 1208 | | |
| |||
0 commit comments