Ormiston triples: Difference between revisions

Content added Content deleted
(→‎{{header|Ruby}}: anagram, not palindrome.)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 2,150: Line 2,150:


Limiting the search to a billion, takes about 73 seconds (68 seconds using our 'standard' sieve).
Limiting the search to a billion, takes about 73 seconds (68 seconds using our 'standard' sieve).
<syntaxhighlight lang="ecmascript">import "./math" for Int
<syntaxhighlight lang="wren">import "./math" for Int
import "./fmt" for Fmt
import "./fmt" for Fmt


Line 2,210: Line 2,210:


It's also far quicker - 4.4 seconds to search up to 1 billion and 43.4 seconds to search up to 10 billion.
It's also far quicker - 4.4 seconds to search up to 1 billion and 43.4 seconds to search up to 10 billion.
<syntaxhighlight lang="ecmascript">import "./psieve" for Primes
<syntaxhighlight lang="wren">import "./psieve" for Primes
import "./math" for Int
import "./math" for Int
import "./fmt" for Fmt
import "./fmt" for Fmt