[sage-devel] Re: Sage 8.1 eats memory while 7.5.1 did not

2018-02-16 Thread Marco Caliari
February 9, 2018 at 11:03:11 AM UTC, Marco Caliari wrote: >> >> Hi, the following script >> >> def test(m,c,precision): >> M = 3*m >> RRR = RealField(prec = precision) >> coef02 = [RRR(1/i) for i in [1..M+1]] >> g = coef02[M] >>

[sage-devel] Re: Sage 8.1 eats memory while 7.5.1 did not

2018-02-12 Thread Marco Caliari
I tested sage 8.0 and it works fine. On Friday, 9 February 2018 14:44:23 UTC+1, Nils Bruin wrote: > > On Friday, February 9, 2018 at 11:03:11 AM UTC, Marco Caliari wrote: >> >> Hi, the following script >> >> def test(m,c,precision): >> M = 3*m >

[sage-devel] Sage 8.1 eats memory while 7.5.1 did not

2018-02-09 Thread Marco Caliari
Hi, the following script def test(m,c,precision): M = 3*m RRR = RealField(prec = precision) coef02 = [RRR(1/i) for i in [1..M+1]] g = coef02[M] for i in [M-1..2,step=-1]: g = x*g+coef02[i] ME = 32 disk = [exp (2*pi.n(precision)*I*i/ME) for i in range(ME)] ep