Closed saraedum closed 2 years ago
I guess that this call is the problem:
https://github.com/flatsurf/sage-flatsurf/blob/master/flatsurf/geometry/subfield.py#L166
We probably don't need this and can use a similar trick we used in GL2ROrbitClosure._rank()
.
We can definitely shortcut subfield_from_elements
in this situation (and many others). I will provide a PR.
See #140 that solves these particular cases. Though
(26, 48, 75)
and (27, 47, 75)
takes 10 secs on my computersubspace
(unless the dimension is very small) and go via rank
.See #140 that solves these particular cases. Though
* `(26, 48, 75)` and `(27, 47, 75)` takes 10 secs on my computer
They take 20s for me. So maybe I don't want to run them in the CI with every PR.
For somewhat large angles,
triangle()
is extremely slow. I triedtriangle(a,b,c)
for(26, 49, 75)
,(26, 48, 75)
, and(27, 47, 75)
. Neither of these terminated within 300h.Here is a medium size case that terminates but takes a long time. Maybe that's useful for optimizing things: