#16855: Make finite fields satisfy comparison by identity
-------------------------------------+-------------------------------------
Reporter: pbruin | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.4
Component: finite rings | Resolution:
Keywords: finite field | Merged in:
comparison | Reviewers:
Authors: Peter Bruin | Work issues:
Report Upstream: N/A | Commit:
Branch: | 10bcb8df90756b034907059cf965cbfe01dbc5ac
u/pbruin/16855-FiniteField_comparison| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by pbruin):
The following does not leak memory with the current branch, but does leak
memory after applying the additional commit `fcc623fd` from the other
branch:
{{{
import gc
for i in range(10000):
var = 'a' + str(i)
F0 = FiniteField(2^3, var, implementation='givaro')
F1 = FiniteField(2^3, var, implementation='pari_ffelt')
F0.coerce_map_from(F1)
F1.coerce_map_from(F0)
if(i % 100 == 0):
gc.collect()
print(get_memory_usage())
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/16855#comment:6>
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.