Open fingolfin opened 1 month ago
Dumb question: Shouldn't these conversion functions not be part of Singular.jl
?
@ederc agreed
Searching for ^i
in this file reveals more instances.
We also just noticed that there may be a correctness issue here if the field on the OSCAR and Singular sides use different defining polynomials?
It also doesn't even check if the size of the fields coincides
Should be addressed together with https://github.com/oscar-system/Oscar.jl/issues/976
It seems there is quite some inefficient conversion code from OSCAR to Singular (perhaps also the other way around) in e.g.
src/Rings/mpoly.jl
. One example:At the very least don't compute
SFa^i
in each iteration, reuse the previous one. But really, we should use the coefficient vector and directly construct the output from that.Multiple other functions in that file have the exact same problem.
I assume the algebraic geometry / commutative algebra team will want to resolve this.