OK cool ! Thanks again !

On Friday, July 31, 2015 at 10:40:46 PM UTC+2, Justin C. Walker wrote:
>
>
> On Jul 31, 2015, at 08:36 , Pierre wrote: 
>
> > Hi, 
> > 
> > I have asked a version of this question here: 
> > 
> > https://groups.google.com/forum/#!topic/sage-support/2KJQhOf-N7Y 
> > 
> > However I now have a minimal working example, and sage-devel is perhaps 
> > better than sage-support for this question (is it?) 
> > 
> > So when working with multivariable polynomials over ZZ and taking the 
> sum 
> > of two ideals, things are inexplicably slow on sagemathcloud. Try the 
> > following: 
> > 
> > S.<a, b>= ZZ[] 
> > L= [ S.random_element() for i in range(500) ] 
> > def test(): 
> >    foo= []*S 
> >    for P in L: 
> >        foo= foo + [P]*S 
> > 
> > %timeit test() 
> > 
> > On my local machine (macbook with sage 6.2), which for anything else is 
> > slower than the cloud, i get about 170ms (i've tried it with L 
> > reconstructed a few times). 
> > On sagemathcloud, it's about 3.8 seconds. 20 times slower ! 
>
> For the record, I get (OS X, 10.10.4, Quad-core Core i7, 2.6 GHz) 
> 6.2: 82 ms 
> 6.7: 2.8 s 
> 6.8: 71 ms 
>
> So you are not wrong, but it's not SMC. 
>
> HTH 
>
> -- 
> Justin C. Walker, Curmudgeon at Large 
> Institute for the Absorption of Federal Funds 
> -- 
> Democracy is two wolves and a lamb 
>    voting on what to have for lunch. 
> Liberty is a well-armed lamb contesting 
>    the vote. 
>
>
>
>

-- 
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.

Reply via email to