[sage-devel] Re: powerseries creation takes long time.

2016-04-25 Thread Hao Chen
Dear Travis, Indeed I was using Sage 6.8. I switched to 7.2 and it is okay. Thank you for pointing this out! -- Hao On Monday, April 25, 2016 at 7:46:29 PM UTC-7, Travis Scrimshaw wrote: > > Hey Hao, >I cannot reproduce on 7.2.beta5: > > sage: F = GF(13); R. = F[[]] > sage: prec = 5*10^6 >

[sage-devel] Re: powerseries creation takes long time.

2016-04-25 Thread Travis Scrimshaw
Hey Hao, I cannot reproduce on 7.2.beta5: sage: F = GF(13); R. = F[[]] sage: prec = 5*10^6 sage: %time R([1], prec) CPU times: user 1.62 ms, sys: 326 µs, total: 1.95 ms Wall time: 1.87 ms 1 + O(x^500) Best, Travis On Monday, April 25, 2016 at 6:18:09 PM UTC-5, Hao Chen wrote: > > I was t

[sage-devel] powerseries creation takes long time.

2016-04-25 Thread Hao Chen
I was trying to define a power series 1 + O(x^(5e6)) with base ring the finite field with 13 elements. And it is taking surprisingly long. sage: F = GF(13); R. = F[[]] sage: prec = 5*10^6 sage: timeit('R([1], prec)') # long time. 5 loops, best of 3: 1.04 s per loop Could someone kindly point o

Re: [sage-devel] Adding __future__ imports in all .py(x) files

2016-04-25 Thread Erik Bray
On Thu, Apr 21, 2016 at 10:33 AM, Jeroen Demeyer wrote: > Hello, > > concerning the porting of Sagelib(*) to Python 3, I propose to eventually > add > > from __future__ import print_function, division, absolute_import, > unicode_literals > > to *every* .py(x) file in Sagelib (even those modules wh

Re: [sage-devel] Coming SageMathCell upgrade - please test!

2016-04-25 Thread Volker Braun
sagecell.makeSagecell is already polling to see whether it is loaded; thats of course totally fugly but should work. You just have to make sure that it is defined. If its only defined once a requirejs module loads then you don't have control over when. Instead move the window.sagecell = window.

[sage-devel] new pictures in plot3d ...

2016-04-25 Thread jhonrubia6
Hi, easy one anyone to review http://trac.sagemath.org/ticket/20109 ? then http://trac.sagemath.org/ticket/20345 and http://trac.sagemath.org/ticket/20346 which depend on #20109 ? thanks -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubs