Bill Allombert on Tue, 06 Jun 2023 11:22:19 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Abnormous memory use for gaussian gcd()?


On Tue, Jun 06, 2023 at 12:40:39AM +0200, hermann@stamm-wilbrandt.de wrote:
> And it completed correctly:
> 
> $ gp < 3.gp
> 
> foobar
> %20 =
> ...
> 508147421190861611913185178774089527222223208482508012472161373459203[+++]
>   ***   last result computed in 1min, 17,373 ms.
> Goodbye!
> stammw:pari$
> 
> But again taking more than 1 minute.

Yes, but you do not need to precompute the square root sqrtm1, which saves about
1 minute!

Cheers
Bill