Patch up at http://trac.sagemath.org/sage_trac/ticket/9887 It speeds up the issues pointed out in #9882, #9883, #9884, #9885 and #9887. It should fix #9886 as well; I'm not sure why it doesn't. #9888 is still unresolved.
It depends on #7883, #8333, #8334 and #9814 (this last is positively reviewed). So if people want speedups for coercion between Integers and IntegerMods and between lists and Polynomial_zmod_flint, someone should review the finite field patches. :-) David On Thu, Sep 9, 2010 at 20:53, David Roe <r...@math.harvard.edu> wrote: > There are some implemented coercion maps already (see > sage.rings.finite_rings.integer_mod.Integer_to_IntegerMod). Many of these > tickets can be solved by writing optimized coercion and conversion morphisms > and including appropriate section() functions on some of them. See the > patch at #9814, though that still needs a bit of work. > > I can probably do this fairly easily, but not tonight. :-) > David > > > On Thu, Sep 9, 2010 at 12:24, David Harvey <dmhar...@cims.nyu.edu> wrote: > >> Dear sage-devel, >> >> Sage is very slow. I discovered this (again) while trying to write a >> prototype of an algorithm for computing zeta functions of projective >> varieties. I need to multiply lots of polynomials and matrices over finite >> rings, and frequently move coefficients between polynomials and matrices. >> The arithmetic is actually not too bad; it's the boring data movement stuff >> that really sucks. I made a bunch of tickets: >> >> http://trac.sagemath.org/sage_trac/ticket/9882 >> http://trac.sagemath.org/sage_trac/ticket/9883 >> http://trac.sagemath.org/sage_trac/ticket/9884 >> http://trac.sagemath.org/sage_trac/ticket/9885 >> http://trac.sagemath.org/sage_trac/ticket/9886 >> http://trac.sagemath.org/sage_trac/ticket/9887 >> http://trac.sagemath.org/sage_trac/ticket/9888 >> >> Maybe I can be the first to #10000 if I keep going! >> >> david >> >> -- >> To post to this group, send an email to sage-devel@googlegroups.com >> To unsubscribe from this group, send an email to >> sage-devel+unsubscr...@googlegroups.com<sage-devel%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/sage-devel >> URL: http://www.sagemath.org >> > > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org