#12205: rewrite conway polynomial spkg and code in Sage library to not use ZODB
-----------------------------+----------------------------------------------
Reporter: was | Owner: was
Type: task | Status: new
Priority: major | Milestone: sage-5.6
Component: databases | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-----------------------------+----------------------------------------------
Comment (by rohana):
I noticed a a flaw with what I did -- `ConwayPolynomials()[p]` returns a
mutable Python dict, so you can actually write to the database. I'll post
a fix for this in a moment.
There is no good reason as far as I can tell to use anything but plain
text in the SPKG considering how small the database is.
As for the second question, the only concern would be that the entire
database is loaded into memory with each instance (granted this might not
be a huge concern due to the small size of the database). The main reason
I added the inheritance of `UniqueRepresentation` was because of a comment
I seem to recall being told that Sage databases should be unique. It is
simple enough to remove if we deem it not necessary.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12205#comment:23>
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.