You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
S, (x, y, z) =graded_polynomial_ring(QQ, [:x, :y, :z])
m =ideal(S, gens(S))
S1 =graded_free_module(S, [0])
g =gens(m^29)
f = [f*S1[1] for f in g]
@time I, inc =sub(S1, f);
@time Oscar.SubModuleOfFreeModule(S1, f);
which is a significant differences. In fact, using sub in bigger examples killed me.
Using ProfileView revealed that most of the time is spent in inferring the degree of the generators for the domain of the inclusion map inc. This looks to me as if there's room for improvement.
Try the following code:
On my machine I get
which is a significant differences. In fact, using
sub
in bigger examples killed me.Using
ProfileView
revealed that most of the time is spent in inferring the degree of the generators for the domain of the inclusion mapinc
. This looks to me as if there's room for improvement.@jankoboehm ?
The text was updated successfully, but these errors were encountered: