2014-09-28 21:01 UTC+02:00, mmarco <mma...@unizar.es>: > Typically invariants are polynomials with integer coefficients (sometimes > with negative or even rational exponents). I guess they could be converted > to a dictionary (maybe represented by a list), but doesn't sound like the > kind of data structure that fits well on a databse index. > > Maybe storing the hash of the invariants would be a good idea?
No. Store the polynomial as a string, it would be much more simple... and much more readable. At some point you might want to access the database without having to guess what is the data inside. The upstream database is only a text file? Do you know how they do in Snappy? There is a huge collection of 3 manifolds inside. It would be cool to have something somehow compatible. Vincent -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.