#13958: number of generators of number field ideal blows up under multiplication
-----------------------------------------------------------+----------------
Reporter: mstreng | Owner:
davidloeffler
Type: defect | Status:
new
Priority: major | Milestone:
sage-5.7
Component: number fields | Resolution:
Keywords: number field ideal multiplication power | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------------------------------------+----------------
Comment (by mderickx):
Ok, here is the patch. I did not do anything with the !__add!__ method.
The reason being that I think that the memory usage doesn't blow up to bad
(the memory needed to store the sum(list_of_ideals) is linear in
len(list_of_ideals) while the memory needed for prod(list_of_ideals) was
exponential in len(list_of_ideals). And reducing the amount of generators
after each addition is probably slower then reducing the amount of
generators only when you need to do something more fancy with the Ideal.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13958#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.