Rare numbers: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) m (→not optimized) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 6,511: | Line 6,511: | ||
===Traditional=== |
===Traditional=== |
||
About 9.5 minutes to find the first 25 rare numbers. |
About 9.5 minutes to find the first 25 rare numbers. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./sort" for Sort |
||
import "/fmt" for Fmt |
import "./fmt" for Fmt |
||
class Term { |
class Term { |
||
Line 6,785: | Line 6,785: | ||
===Turbo=== |
===Turbo=== |
||
Ruffles the feathers a little with a time 5 times quicker than the 'traditional' version. |
Ruffles the feathers a little with a time 5 times quicker than the 'traditional' version. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./sort" for Sort |
||
import "/fmt" for Fmt |
import "./fmt" for Fmt |
||
import "/date" for Date |
import "./date" for Date |
||
class Z2 { |
class Z2 { |