Then I think you found the very thing I needed... Thank you !!! :-) I do not need 1 millions variables, but clearly I do not want the computations to be too slow under 10000.. If I have something like 1000 variables, I very often have 5000 or more functions to define and work on, so I need the symbolic expression to be handled easily by Sage !
Nathann On Nov 26, 3:15 pm, YannLC <yannlaiglecha...@gmail.com> wrote: > because you use dense representation. > > Try P.<x>=PolynomialRing(QQ,sparse=True) > > By the way, do you need QQ? RR or ZZ would probably be faster. > > On Nov 26, 3:06 pm, Nathann Cohen <nathann.co...@gmail.com> wrote: > > > I could cache the results... But I still do not understand why just > > evaluating x^999999 takes so much time ! > > You really need 1 million variables?! -- 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