Equal prime and composite sums: Difference between revisions

Content added Content deleted
(→‎{{header|ALGOL 68}}: Slight simplification)
m (→‎{{header|Wren}}: Minor tidy)
Line 1,227: Line 1,227:
=={{header|Wren}}==
=={{header|Wren}}==
Takes around 2 minutes, which is respectable for Wren, but uses a lot of memory.
Takes around 2 minutes, which is respectable for Wren, but uses a lot of memory.
<syntaxhighlight lang="ecmascript">import "./math" for Int
<syntaxhighlight lang="wren">import "./math" for Int
import "./sort" for Find
import "./sort" for Find
import "/fmt" for Fmt
import "./fmt" for Fmt


var limit = 4 * 1e8
var limit = 4 * 1e8