#16803: Reimplement matrix_integer_dense using FLINT
-------------------------------------+-------------------------------------
Reporter: mmasdeu | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.4
Component: linear algebra | Resolution:
Keywords: flint, matrix | Merged in:
Authors: Marc Masdeu | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/mmasdeu/16803-matrix_integer_dense_flint|
a13b79c9decdba47551a70f2ce1822a4e7e082bd
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by was):
MAJOR PROBLEM! Now that multiply_multi_modular is back, I wrote code to
do some random testing of correctness. I did not find situations where
things are wrong... however, I quickly ran into major trouble because this
ticket introduces a huge memory leak. I just defined two matrices and
multiplied them a few hundred times, and had major ram problems. In
particular, in sage-6.3 (without this branch):
{{{
sage: get_memory_usage()
1047.1875
sage: for i in range(50):
....: a=random_matrix(ZZ,300); del a
....:
sage: get_memory_usage()
1047.1875
}}}
With this ticket:
{{{
sage: get_memory_usage()
2132.09765625
sage: for i in range(50):
a=random_matrix(ZZ,300); del a
....:
sage: get_memory_usage()
2231.3203125
}}}
**Conclusion: making nontrivial use of the code on this ticket will very
quickly use up all RAM on your computer.**
So... needs work until that is fixed.
--
Ticket URL: <http://trac.sagemath.org/ticket/16803#comment:16>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.