Juggler sequence: Difference between revisions

m
(New post.)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,771:
{{libheader|Wren-big}}
This took just over 17 minutes to reach n = 30,817 on my machine and I gave up after that.
<syntaxhighlight lang="ecmascriptwren">import "./fmt" for Fmt
import "./big" for BigInt
 
var one = BigInt.one
Line 1,853:
{{libheader|Wren-gmp}}
Massive speed-up, of course, when one brings in GMP. Now takes about 1 minute 48 seconds to reach 7,110,201 which is not much slower than Go on the same machine!
<syntaxhighlight lang="ecmascriptwren">/* juggler-gmpJuggler_sequence_2.wren */
 
import "./gmp" for Mpz
9,490

edits